A = int(input()) # -(N-1),-(N-2),...,N-1,N if A == 1: print("NO") else: print("YES")