n = int(eval(input()))

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

EO = [i % 2 for i in A]

print(('YES' if EO.count(1) % 2 == 0 else 'NO'))
n = int(eval(input()))

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

print(('YES' if sum(A) % 2 == 0 else 'NO'))
n = int(eval(input()))
A = list(map(int, input().split()))
EO = [i % 2 for i in A]
print(("YES" if EO.count(1) % 2 == 0 else "NO"))

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

-EO = [i % 2 for i in A] -print(("YES" if EO.count(1) % 2 == 0 else "NO")) +print(("YES" if sum(A) % 2 == 0 else "NO"))