n=input()
a=[0 for i in range(n)]
s=raw_input().split()
c2=0
c1=0
c=0
for i in range(n):
    t=int(s[i])
    if t%4==0:
        a[i]=2
        c2+=1
    else:
        if t%2==0:
            a[i]=1
            c1+=1
        else:
            a[i]=0
            c+=1
print "Yes" if (c2>=c) or (c2==c-1 and c1==0) else "No"