// 嘘解法 // 8時30分をセーフにしている #include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout << fixed << setprecision(15); int H, M; cin >> H >> M; auto f = [&](int h, int m) -> int { return 60 * h + m; }; int t = f(H, M); int S = f(7, 30); int T = f(8, 30); string ans; if (t < S) { ans = "Yes"; } else if (t <= T) { ans = "Late"; } else { ans = "No"; } cout << ans << '\n'; return 0; }