using System.Numerics; public class Program { public static void Main() { //int num = int.Parse(Console.ReadLine() ?? string.Empty); string[] str = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; int h = int.Parse(str[0]); int m = int.Parse(str[1]); if (h <= 6 || h == 7 && m < 30) { Console.WriteLine("Yes"); } else if (h == 7 && m >= 30 || h == 8 && m <= 30) { Console.WriteLine("Late"); } else { Console.WriteLine("No"); } } }