A=int(input())

if A!=1:
    print("YES")
else:
    print("NO")