print("YNEOS"[input()=="1"::2])