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