n = int(eval(input()))

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

cnt = 0

for i in range(n):

    if a[i] % 2 == 1:

        cnt += 1

if cnt % 2 == 1:

    print("NO")

else:

    print("YES")
n = int(input())

a = [i for i in list(map(int, input().split())) if i % 2 == 1]

print("YES") if len(a)%2==0 else print("NO")

n = int(eval(input()))
a = list(map(int, input().split()))
cnt = 0
for i in range(n):
    if a[i] % 2 == 1:
        cnt += 1
if cnt % 2 == 1:
    print("NO")
else:
    print("YES")

n = int(input())
a = [i for i in list(map(int, input().split())) if i % 2 == 1]
print("YES") if len(a) % 2 == 0 else print("NO")

-n = int(eval(input())) -a = list(map(int, input().split())) -cnt = 0 -for i in range(n): -    if a[i] % 2 == 1: -        cnt += 1 -if cnt % 2 == 1: -    print("NO") -else: -    print("YES") +n = int(input()) +a = [i for i in list(map(int, input().split())) if i % 2 == 1] +print("YES") if len(a) % 2 == 0 else print("NO")