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