using System.Numerics; public class Program { public static void Main() { //BigInteger num =BigInteger.Parse(Console.ReadLine() ?? string.Empty); string[] str = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; int year = int.Parse(str[0]); int month = int.Parse(str[1]); int day = int.Parse(str[2]); if(year >= 1989 && year <=2019) { if(year == 2019&& month > 4 || year == 1989 && month == 1 && day < 8) { Console.WriteLine("No"); return; } Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }