#include <stdio.h> int main() { int year = 0; int month = 0; int day[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; while (scanf("%d %d", &year, &month) != EOF) { if (month == 2) { if ((year % 4 == 0 && year % 100 != 0) || (year % 4...