/* -*- coding: utf-8 -*- * * 2371.cc: No.2371 最大の試練それは起床 - yukicoder */ #include #include using namespace std; /* constant */ const int S = 7 * 60 + 30; const int T = 8 * 60 + 30; /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int h, m; scanf("%d%d", &h, &m); int t = h * 60 + m; if (t < S) puts("Yes"); else if (t < T) puts("Late"); else puts("No"); return 0; }