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