N=int(eval(input()))

A=[int(i) for i in input().split()]

a=0

b=0

for i in A:

    if i%2==0:

        a+=1

    else:

        b+=1

if b%2==1:

    print('NO')

else:

    print('YES')
N=int(eval(input()))

A=[int(i) for i in input().split()]

L=[0,0]

for a in A:

    L[a%2]+=1

if L[1]%2==1:

    print('NO')

else:

    print('YES')
N = int(eval(input()))
A = [int(i) for i in input().split()]
a = 0
b = 0
for i in A:
    if i % 2 == 0:
        a += 1
    else:
        b += 1
if b % 2 == 1:
    print("NO")
else:
    print("YES")

N = int(eval(input()))
A = [int(i) for i in input().split()]
L = [0, 0]
for a in A:
    L[a % 2] += 1
if L[1] % 2 == 1:
    print("NO")
else:
    print("YES")

-a = 0 -b = 0 -for i in A: -    if i % 2 == 0: -        a += 1 -    else: -        b += 1 -if b % 2 == 1: +L = [0, 0] +for a in A: +    L[a % 2] += 1 +if L[1] % 2 == 1: