if input()[0] in ('4','5'): print("Yes") else: print("No")