#include #include #include #include #include #include #include #include #include #include using namespace std; #define int long long int MOD = 1000000007; signed main() { cin.tie(0); ios::sync_with_stdio(false); int Y, M, D; cin >> Y >> M >> D; string res = "No"; if (Y < 2019) { res = "Yes"; } else if (Y == 2019) { if (M <= 4)res = "Yes"; } cout << res << endl; }