N = int(eval(input()))

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

c = 0

for e in A:

    if e%2 == 1:

        c += 1

if c%2 == 1:

    print("NO")

else:

    print("YES")

N = int(eval(input()))

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

t = 0

for e in A:

    t += e%2

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

N = int(eval(input()))
A = list(map(int, input().split()))
c = 0
for e in A:
    if e % 2 == 1:
        c += 1
if c % 2 == 1:
    print("NO")
else:
    print("YES")

N = int(eval(input()))
A = list(map(int, input().split()))
t = 0
for e in A:
    t += e % 2
print(("YES" if t % 2 == 0 else "NO"))

-c = 0 +t = 0 -    if e % 2 == 1: -        c += 1 -if c % 2 == 1: -    print("NO") -else: -    print("YES") +    t += e % 2 +print(("YES" if t % 2 == 0 else "NO"))