n = int(input())
l=list(map(int ,input().split()))
four=0
two=0
one=0
for i in range(n):
	if l[i]%2==0:
		if l[i]==2:
			two+=1
		else:
			four+=1
	elif l[i]==1:
		one+=1

if one>=1:
	if n/2>=four>=one/2:
		print('Yes')
	else:
		print('No')
elif two==1:
	if n/2>=four:
		print('Yes')
	else:
		print('No')
elif four+two>=n/2:
	print('Yes')
else:
	print('No')