#include <iostream> using namespace std; int a[]={0,31,28,31,30,31,30,31,31,30,31,30,31}; bool run(int n){ if(n%400==0||(n%4==0&&n%100!=0)) return true; else return false; } int main() { int n,y,r; int day=0; while (cin >> n >> y>>r) { for(int i=1;i&l...