# AGC010A - Addition

def main():

    n = int(eval(input()))

    A = tuple(map(int, input().rstrip().split()))

    flg = sum(i % 2 == 1 for i in A) % 2 == 0

    print(("YES" if flg else "NO"))





if __name__ == "__main__":

    main()
# AGC010A - Addition

def main():

    n = int(eval(input()))

    A = tuple(map(int, input().rstrip().split()))

    print(("YES" if sum(A) % 2 == 0 else "NO"))





if __name__ == "__main__":

    main()
# AGC010A - Addition
def main():
    n = int(eval(input()))
    A = tuple(map(int, input().rstrip().split()))
    flg = sum(i % 2 == 1 for i in A) % 2 == 0
    print(("YES" if flg else "NO"))


if __name__ == "__main__":
    main()

# AGC010A - Addition
def main():
    n = int(eval(input()))
    A = tuple(map(int, input().rstrip().split()))
    print(("YES" if sum(A) % 2 == 0 else "NO"))


if __name__ == "__main__":
    main()

-    flg = sum(i % 2 == 1 for i in A) % 2 == 0 -    print(("YES" if flg else "NO")) +    print(("YES" if sum(A) % 2 == 0 else "NO"))