n = int(eval(input()))

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

b = 0

c = 0

for i in range(len(a)):

    if a[i]%2 == 0:

        b += 1

    else:

        c += 1

if c%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()))
b = 0
c = 0
for i in range(len(a)):
    if a[i] % 2 == 0:
        b += 1
    else:
        c += 1
if c % 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")

-b = 0 -c = 0 -for i in range(len(a)): -    if a[i] % 2 == 0: -        b += 1 -    else: -        c += 1 -if c % 2 == 0: +if sum(a) % 2 == 0: