n = int(eval(input()))

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



count = 0

for i in a:

    if i % 2 != 0:

        count += 1



if count % 2 != 0:

    print("NO")

else:

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

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



if sum(a) % 2 == 0:

    print("YES")

else:

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

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

-count = 0 -for i in a: -    if i % 2 != 0: -        count += 1 -if count % 2 != 0: +if sum(a) % 2 == 0: +    print("YES") +else: -else: -    print("YES")