n=int(input())
lists=list(map(int,input().split()))
mod_4=[]
mod_2=[]
elser=[]
for i in lists:
    if i%4==0:
        mod_4.append(i)
    elif i%4==2:
        mod_2.append(i)
    else:
        elser.append(i)
number_of_4=len(mod_4)
if number_of_4>=(n//2):
    print("Yes")
else:
    j=number_of_4*2+1+len(mod_2)
    if j>=n:
        print("Yes")
    else:
        print("No")