N = int(eval(input()))

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

O = 0

E = 0



for i in A:

    if i % 2 == 1:

        O += 1

    else:

        E += 1

if O % 2 == 0:

    print("YES")

else:

    print("NO")
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()))
O = 0
E = 0
for i in A:
    if i % 2 == 1:
        O += 1
    else:
        E += 1
if O % 2 == 0:
    print("YES")
else:
    print("NO")

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

-O = 0 -E = 0 -for i in A: -    if i % 2 == 1: -        O += 1 -    else: -        E += 1 -if O % 2 == 0: +if sum(A) % 2 == 0: