using System; class Program { static void Main() { string S = Console.ReadLine(); if(S.Contains("4") || S.Contains("5")) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }