using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { var inp = Console.ReadLine(); if (inp.StartsWith("4") || inp.StartsWith("5")) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }