N = int(input())
A = list(map(int,input().split()))

even = 0
odd = 0

for i in range(N):
    if A[i] % 2 == 0:
        even += 1
    else:
        odd += 1

if 2*even == odd:
    print("Yes")
elif odd == 0:
    print("Yes")
else:
    print("No")

