#include<iostream> #include<string> using namespace std; int main() { int year, day, month, _day; int* m = new int[12]{ 31,28,31,30,31,30,31,31,30,31,30,31 }; while (cin >> year >> day) { bool r = false; month = 0; if ((year % 4 == 0 &&...