import sys



def debug(x, table):

    for name, val in table.items():

        if x is val:

            print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)

            return None



def solve():

    N = int(input())

    A = [int(i) for i in input().split()]

    yes = 'YES'

    no = 'NO'



    num_od = 0



    for a in A:

        if a % 2 == 1:

            num_od += 1



    if num_od % 2 == 1:

        print(no)

    else:

        print(yes)



if __name__ == '__main__':

    solve()

import sys



def debug(x, table):

    for name, val in table.items():

        if x is val:

            print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)

            return None



def solve():

    N = int(input())

    A = [int(i) for i in input().split()]

    yes = 'YES'

    no = 'NO'



    if sum(A) % 2 == 0:

        print(yes)

    else:

        print(no)



if __name__ == '__main__':

    solve()

import sys


def debug(x, table):
    for name, val in table.items():
        if x is val:
            print("DEBUG:{} -> {}".format(name, val), file=sys.stderr)
            return None


def solve():
    N = int(input())
    A = [int(i) for i in input().split()]
    yes = "YES"
    no = "NO"
    num_od = 0
    for a in A:
        if a % 2 == 1:
            num_od += 1
    if num_od % 2 == 1:
        print(no)
    else:
        print(yes)


if __name__ == "__main__":
    solve()

import sys


def debug(x, table):
    for name, val in table.items():
        if x is val:
            print("DEBUG:{} -> {}".format(name, val), file=sys.stderr)
            return None


def solve():
    N = int(input())
    A = [int(i) for i in input().split()]
    yes = "YES"
    no = "NO"
    if sum(A) % 2 == 0:
        print(yes)
    else:
        print(no)


if __name__ == "__main__":
    solve()

-    num_od = 0 -    for a in A: -        if a % 2 == 1: -            num_od += 1 -    if num_od % 2 == 1: +    if sum(A) % 2 == 0: +        print(yes) +    else: -    else: -        print(yes)