// 別解(pair の比較) #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 t = make_pair(H, M); auto S = make_pair(7, 30); auto T = make_pair(8, 30); string ans; if (t < S) { ans = "Yes"; } else if (t < T) { ans = "Late"; } else { ans = "No"; } cout << ans << '\n'; return 0; }