#include<iostream> using namespace std; int arr[] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; bool isRun(int year) { if(year % 4 == 0 && year % 100 != 0) return true; if(year % 400 == 0) return true; return false; } int main(void) { int year,month,day; while(cin >> year &...