n = int(eval(input()))

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



cnt = 0

for a in A:

    if a % 2 != 0:

        cnt += 1



if cnt % 2 == 0:

    print('YES')

else:

    print('NO')
n = int(eval(input()))

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

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

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

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