N = int(input())

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



cnt = 0

for a in A:

    cnt += 1 if a & 1 == 1 else 0



print(('YES' if cnt % 2 == 0 else 'NO'))
import sys

N = int(eval(input()))

A = list(map(int, sys.stdin.readline().split(' ')))



cnt = 0

for a in A:

    cnt += 1 if a & 1 == 1 else 0



print(('YES' if cnt % 2 == 0 else 'NO'))
N = int(input())
A = list(map(int, input().split(" ")))
cnt = 0
for a in A:
    cnt += 1 if a & 1 == 1 else 0
print(("YES" if cnt % 2 == 0 else "NO"))

import sys

N = int(eval(input()))
A = list(map(int, sys.stdin.readline().split(" ")))
cnt = 0
for a in A:
    cnt += 1 if a & 1 == 1 else 0
print(("YES" if cnt % 2 == 0 else "NO"))

-N = int(input()) -A = list(map(int, input().split(" "))) +import sys + +N = int(eval(input())) +A = list(map(int, sys.stdin.readline().split(" ")))