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()]



    num_ev = 0

    num_od = 0



    for a in A:

        if a % 2 == 0:

            num_ev += 1

        else:

            num_od += 1



    if num_od % 2 == 1:

        print('NO')

        return None

    else:

        num_ev += num_od // 2



        if num_ev >= 1:

            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()]
    num_ev = 0
    num_od = 0
    for a in A:
        if a % 2 == 0:
            num_ev += 1
        else:
            num_od += 1
    if num_od % 2 == 1:
        print("NO")
        return None
    else:
        num_ev += num_od // 2
        if num_ev >= 1:
            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()

-    num_ev = 0 +    yes = "YES" +    no = "NO" -        if a % 2 == 0: -            num_ev += 1 -        else: +        if a % 2 == 1: -        print("NO") -        return None +        print(no) -        num_ev += num_od // 2 -        if num_ev >= 1: -            print("YES") -        else: -            print("NO") +        print(yes)