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
odd=n-(four+two)
if four>=n//2:
	print('Yes')
elif two>=1:
	if four>=(n-two)/2:
		print('Yes')
	else:
		print('No')
else:
	print('No')