#include using namespace std; int main() { vector vt(3); for (int i = 0; i < 3; ++i) { cin >> vt[i]; } vector low = {1989, 1, 8}, high = {2019, 4, 30}; if (vt >= low and vt <= high) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }