#include #include using namespace std; #include using namespace atcoder; using ll = long long; #define reps(i, a, n) for (ll i = (a); i < (ll)(n); ++i) #define rep(i, n) reps(i, 0, n) #define all(a) (a).begin(), (a).end(); //なんかstd::vectorの挙動を修正できるやつ /* alias */ using ull = unsigned long long; using ll = long long; using vi = vector; using vl = vector; using vll = vector; using vvi = vector; using vvl = vector; using vvll = vector; using vs = vector; using pii = pair; #define debug(x) \ cerr << "\033[33m(line:" << __LINE__ << ") " << #x << ": " << x << "\033[m" \ << endl; const ll minf = -1e10; int main() { int h, m; cin >> h >> m; if(h < 7) cout << "Yes\n"; else if(h == 7){ if(m < 30) cout << "Yes\n"; else cout << "Late\n"; }else{ cout << "No\n"; } }