import sys

n=int(input())
list1=input().split(' ')
sum0=0
sum1=0
for i in list1:
    if int(i)%2==1:
        #sum0表示奇数的个数
        sum0+=1
    else:
        sum1+=1

if sum0==0:
    print("NO")
if sum0==1:
    print("YES")
if sum0==2:
    if sum1==1:
        print("NO")
    else:
        print("YES")
if sum0>=3:
    print("YES")