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