n = int(input()) print("NO" if n%2 else "YES")