#include <stdio.h> int main() { int year = 0; int month = 0; int num1[7] = { 1,3,5,7,8,10,12 }; int num2[4] = { 4,6,9,11 }; while (scanf("%d %d", &year, &month) != EOF) { if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) { ...