print("Yes" if((input())[0] in list("45")) else "No")