n = int(eval(input()))

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

A = [_ % 2 for _ in A]

if sum(A) % 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()))
A = [_ % 2 for _ in A]
if sum(A) % 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")

-A = [_ % 2 for _ in A]