using System; public class Hello { static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var h = int.Parse(line[0]); var m = int.Parse(line[1]); getAns(h, m); } static int calc(int h, int m, int s) => h * 3600 + m * 60 + s; static void getAns(int h, int m) { var start = calc(7, 30, 0); var end = calc(8, 30, 0); var wake = calc(h, m, 30); string ans; if (wake > end) ans = "No"; else if (wake < start) ans = "Yes"; else ans = "Late"; Console.WriteLine(ans); } }