n = int(eval(input()))

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

cnt = 0

for i in range(n):

    if a[i] % 2 == 1:

        cnt += 1

if cnt % 2 == 0:

    print('YES')

else:

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

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

# Python: TrueとFalseは0,1と等価

odd_cnt = len([1 for ai in a if ai % 2])

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

n = eval(input())
a = list(map(int, input().split()))
# Python: TrueとFalseは0,1と等価
odd_cnt = len([1 for ai in a if ai % 2])
print(("YES" if odd_cnt % 2 == 0 else "NO"))

-n = int(eval(input())) +n = eval(input()) -cnt = 0 -for i in range(n): -    if a[i] % 2 == 1: -        cnt += 1 -if cnt % 2 == 0: -    print("YES") -else: -    print("NO") +# Python: TrueとFalseは0,1と等価 +odd_cnt = len([1 for ai in a if ai % 2]) +print(("YES" if odd_cnt % 2 == 0 else "NO"))