n = int(eval(input()))

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

odd = 0

for i in range(n):

    if a[i] % 2:

        odd += 1

odd %= 2

if odd:

    print("NO")

else:

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

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

odd = 0

for i in a:

    if i % 2:

        odd += 1

if odd % 2:

    print("NO")

else:

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

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

-for i in range(n): -    if a[i] % 2: +for i in a: +    if i % 2: -odd %= 2 -if odd: +if odd % 2: