N = int(eval(input()))

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

A = []

B = []

for i in range(N) :

    if L[i] % 2 == 0 :

        A.append(L[i])

    else :

        B.append(L[i])

if len(B) % 2 == 0 :

    print("YES")

else :

    print("NO")

    
N = int(eval(input()))

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

even = odd = 0

for a in A :

    if a % 2 :

        odd += 1

    else :

        even += 1

print(("YES" if odd % 2 == 0 else "NO"))
N = int(eval(input()))
L = list(map(int, input().split()))
A = []
B = []
for i in range(N):
    if L[i] % 2 == 0:
        A.append(L[i])
    else:
        B.append(L[i])
if len(B) % 2 == 0:
    print("YES")
else:
    print("NO")

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

-L = list(map(int, input().split())) -A = [] -B = [] -for i in range(N): -    if L[i] % 2 == 0: -        A.append(L[i]) +A = list(map(int, input().split())) +even = odd = 0 +for a in A: +    if a % 2: +        odd += 1 -        B.append(L[i]) -if len(B) % 2 == 0: -    print("YES") -else: -    print("NO") +        even += 1 +print(("YES" if odd % 2 == 0 else "NO"))