



n = eval(input())



a = [int(i) for i in input().split()]



c = 0



ans = "NO"



for i in a:

    if i%2 == 1:

        c += 1



if c % 2 == 0:

    ans = "YES"



print(ans)




n = eval(input())



a = [int(i) for i in input().split()]



c = 0



ans = "NO"



for i in a:

    c += i



if c%2 == 0:

    ans = "YES"



print(ans)
n = eval(input())
a = [int(i) for i in input().split()]
c = 0
ans = "NO"
for i in a:
    if i % 2 == 1:
        c += 1
if c % 2 == 0:
    ans = "YES"
print(ans)

n = eval(input())
a = [int(i) for i in input().split()]
c = 0
ans = "NO"
for i in a:
    c += i
if c % 2 == 0:
    ans = "YES"
print(ans)

-    if i % 2 == 1: -        c += 1 +    c += i