n = int(input())
a = list(map(int, input().split()))
c = [0, 0]
mi = (n+1)//2
ma = (n//3)*2
if ((n+1)%3)==0:	ma+=1

for i in range(n):	c[a[i]%2] += 1

if c[1] == 0 :							print("Yes")
elif c[0] == 0:							print("No")
elif (mi <= c[1]) and (c[1] <= ma) : 	print("Yes")
else :									print("No")
