N = int(eval(input()))

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



even = 0

odd = 0



for a in A:

    if a % 2 == 0:

        even += 1

    else:

        odd += 1



if odd % 2 != 0:

    print("NO")

else:

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

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



if sum(A) % 2:

    print("NO")

else:

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

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

-even = 0 -odd = 0 -for a in A: -    if a % 2 == 0: -        even += 1 -    else: -        odd += 1 -if odd % 2 != 0: +if sum(A) % 2: