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(eval(input()))

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

if sum([1 for b in a if b%2 == 1]) % 2 == 1:

    print('NO')

else:

    print('YES')
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(eval(input()))
a = list(map(int, input().split()))
if sum([1 for b in a if b % 2 == 1]) % 2 == 1:
    print("NO")
else:
    print("YES")

-cnt = 0 -for i in range(n): -    if a[i] % 2 == 1: -        cnt += 1 -if cnt % 2 == 1: +if sum([1 for b in a if b % 2 == 1]) % 2 == 1: