import sys

input = sys.stdin.readline

n = int(eval(input()))

A = list(map(int,input().split()))

if sum(A) % 2 == 0:

    print("YES") 

else:

    print("NO")
import sys

input = sys.stdin.readline

eval(input())

print(('YES' if sum(map(int, input().split())) % 2 == 0 else 'NO'))

import sys

input = sys.stdin.readline
n = int(eval(input()))
A = list(map(int, input().split()))
if sum(A) % 2 == 0:
    print("YES")
else:
    print("NO")

import sys

input = sys.stdin.readline
eval(input())
print(("YES" if sum(map(int, input().split())) % 2 == 0 else "NO"))

-n = int(eval(input())) -A = list(map(int, input().split())) -if sum(A) % 2 == 0: -    print("YES") -else: -    print("NO") +eval(input()) +print(("YES" if sum(map(int, input().split())) % 2 == 0 else "NO"))