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 month=sc.nextInt(); int day=sc.nextInt(); Date date=new Date(year+"/"+month+"/"+day); int a=date.getDay(); if(a==0) a=7; System.out.println(a); } }
0.0分
0 人评分