N = int(eval(input()))

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

odd = 0

for a in A:

    odd += a%2

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

N = int(eval(input()))

A = [int(a)%2 for a in input().split()]

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

N = int(eval(input()))
A = [int(a) % 2 for a in input().split()]
print(("YES" if sum(A) % 2 == 0 else "NO"))

-A = [int(a) for a in input().split()] -odd = 0 -for a in A: -    odd += a % 2 -print(("YES" if odd % 2 == 0 else "NO")) +A = [int(a) % 2 for a in input().split()] +print(("YES" if sum(A) % 2 == 0 else "NO"))