#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); pair a; cin >> a.first >> a.second; vector> se(2); se[0].first = 7; se[0].second = 30; se[1].first = 8; se[1].second = 30; if (a < se[0]) { cout << "Yes\n"; } else if (a < se[1]) { cout << "Late\n"; } else { cout << "No\n"; } }