#!/usr/bin/env python



n = int(eval(input()))

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



cnt = 0 

for i in range(n):

    if a[i]%2 == 1:

        cnt += 1



if cnt%2 == 0:

    print('YES')

else:

    print('NO')



#!/usr/bin/env python



n = int(eval(input()))

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



if sum(a)%2 == 0:

    print('YES')

else:

    print('NO')

#!/usr/bin/env python
n = int(eval(input()))
a = list(map(int, input().split()))
cnt = 0
for i in range(n):
    if a[i] % 2 == 1:
        cnt += 1
if cnt % 2 == 0:
    print("YES")
else:
    print("NO")

#!/usr/bin/env python
n = int(eval(input()))
a = list(map(int, input().split()))
if sum(a) % 2 == 0:
    print("YES")
else:
    print("NO")

-cnt = 0 -for i in range(n): -    if a[i] % 2 == 1: -        cnt += 1 -if cnt % 2 == 0: +if sum(a) % 2 == 0: