x=int(input()) if x==0: print("Yes") elif x==4: print("Yes") elif x== 10: print("Yes") else : print("No")