# -*- coding: utf-8 -*-

import sys



n = sys.stdin.readline().rstrip()

nums = (int(i) for i in sys.stdin.readline().rstrip().split())



odds = 0

for a in nums:

  if a % 2 != 0:

    odds += a



if odds % 2 == 0:

  print('YES')

else:

  print('NO')
# -*- coding: utf-8 -*-

import sys



n = sys.stdin.readline().rstrip()

nums = (int(i) for i in sys.stdin.readline().rstrip().split())



if sum(nums) % 2 == 0:

  print('YES')

else:

  print('NO')
# -*- coding: utf-8 -*-
import sys

n = sys.stdin.readline().rstrip()
nums = (int(i) for i in sys.stdin.readline().rstrip().split())
odds = 0
for a in nums:
    if a % 2 != 0:
        odds += a
if odds % 2 == 0:
    print("YES")
else:
    print("NO")

# -*- coding: utf-8 -*-
import sys

n = sys.stdin.readline().rstrip()
nums = (int(i) for i in sys.stdin.readline().rstrip().split())
if sum(nums) % 2 == 0:
    print("YES")
else:
    print("NO")

-odds = 0 -for a in nums: -    if a % 2 != 0: -        odds += a -if odds % 2 == 0: +if sum(nums) % 2 == 0: