def Main(): if input()[0] in "45": print("Yes") else: print("No") Main()