import java.util.Date; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int year=sc.nextInt(); int count=0; for (int month = 1; month <=12; month++) { Date d=new Date (year+"/"+month+"/13"); int sum=d.getDay(); if(sum==5)count++; } System.out.println(count); } }
0.0分
1 人评分