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