#include int main() { int H, M; scanf("&d &d", &H, &M); if ((0 <= H <= 6) || (H == 7 && 0 <= M < 30)) { printf("Yes\n"); } else if ((H == 7 && 30 <= M) || (H == 8 && M < 30)) { printf("Late\n"); } else { printf("No\n"); } }