n = int(eval(input()))

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



odd = 0

for i in range(n):

    if arr[i] % 2 != 0:

        odd += 1



if odd % 2 == 0:

    print('YES')

else:

    print('NO')
n = int(eval(input()))

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

odd = 0

for i in range(n):

    if arr[i] % 2 != 0:

        odd += 1

print(('YES' if odd % 2 == 0 else 'NO'))
n = int(eval(input()))
arr = list(map(int, input().split()))
odd = 0
for i in range(n):
    if arr[i] % 2 != 0:
        odd += 1
if odd % 2 == 0:
    print("YES")
else:
    print("NO")

n = int(eval(input()))
arr = list(map(int, input().split()))
odd = 0
for i in range(n):
    if arr[i] % 2 != 0:
        odd += 1
print(("YES" if odd % 2 == 0 else "NO"))

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