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