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