typedef long long ll; typedef long double ld; #include using namespace std; #define int long long signed main(){ ll h,m; std::cin >> h>>m; if(h<6){ std::cout << "Yes" << std::endl; }else if(h==7&&m<30){ std::cout << "Yes" << std::endl; }else if(h==7){ std::cout << "Late" << std::endl; }else if(h==8&&m<30){ std::cout << "Late" << std::endl; }else{ std::cout << "No" << std::endl; } }