#include<iostream> using namespace std; int main() { int y,m,d,result,n; while(cin>>y>>m>>d) { //1、3、5、7、8、10、12 31天 &n...