#include #include #include #include #include #include #include #include #include #include #include #include #include #define REP(i, n, N) for(ll i=(n);i<(N);i++) #define RREP(i, n, N) for(ll i=(N-1);i>=(n);i--) #define CK(n, a, b) ((a)<=(n)&&(n)<(b)) #define ALL(v) (v).begin(), (v).end() #define MCP(a, b) memcpy(b,a,sizeof(b)) #define p(s) cout<<(s)<>Y>>M>>D; bool isHeySay = false; if(1989 == Y){ if((1 <= M && 8 <= D) || 2 <= M){ isHeySay = true; } }else if(1990 <= Y && Y <= 2018){ isHeySay = true; }else if(Y == 2019){ if((M <= 4 && D <= 30) || M <= 3){ isHeySay = true; } } if (isHeySay){ cout<<"Yes"<