#include #include #include using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int Y,M,D; string X; cin >> Y >> M >> D; X = "Yes"; if (Y < 2020) { X = "Yes"; }else X = "No"; if (X == "Yes") { if (Y == 2019) { if(M < 6){ X = "Yes"; }else X = "No"; } } if (X == "Yes") { if (M == 5) { if (D < 32){ X = "Yes"; }else X = "No"; } } cout << X << "\n"; }