A=int(input()) print("NO" if A==1 else "YES")