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