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