n = int(eval(input()))

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



e = 0

o = 0

for a in A:

    if a%2 == 0:

        e += 1

    else:

        o += 1



if o%2 == 1:

    print('NO')

else:

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

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



if sum(A)%2 == 1:

    print('NO')

else:

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

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

-e = 0 -o = 0 -for a in A: -    if a % 2 == 0: -        e += 1 -    else: -        o += 1 -if o % 2 == 1: +if sum(A) % 2 == 1: