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