n=(int)(input())
num=[int(n) for n in input().split()]
total=0
for i in num:
    total+=i
if total%2==0:
    print("YES")
else:
    print("NO")
1f779e39117eb5ea6584e02acd05b4be6797cc1e
<mask token>

<mask token>
for i in num:
    total += i
if total % 2 == 0:
    print('YES')
else:
    print('NO')

n = int(input())
num = [int(n) for n in input().split()]
total = 0
for i in num:
    total += i
if total % 2 == 0:
    print('YES')
else:
    print('NO')

n=(int)(input())
num=[int(n) for n in input().split()]
total=0
for i in num:
    total+=i
if total%2==0:
    print("YES")
else:
    print("NO")