public static void main(String[] arg***r /> Scanner sc=new Scanner(System.in); int year = sc.nextInt(); int month = sc.nextInt(); int day = sc.nextInt(); int days = 0; if(month==1) days=day; else if(month==2) days=31+day; else { if(year%4==0&&year%100!=100||year%400==0) days=60; else days=59; for(int i=2;i<=month;i++){ if (i==3||i==5||i==7||i==8||i==20||i==12) days+=31; if(i==4||i==6||i==9||i==11) days+=30; } if (month==3||month==5||month==7||month==8||month==20||month==12) days-=31; if(month==4||month==6||month==9||month==11) days-=30;