N=int(input())
A=list(map(int,input().split()))
F=0
T=0
for i in A:
    if i%4==0:
        F+=1
    elif i%2==0:
        T+=1
    else:
        continue
if (F*2+1)>=N:
    print("Yes")
elif (T==N):
    print("Yes")
elif (T>=2):
    if(F*2+1+T)>=N:
        print("Yes")
    else:
        print("No")
else:
    print("No")