n=int(input())
a=list(map(int,input().split()))
count=0#4の倍数
count2=0#2の倍数だが4の倍数じゃない
for i in range(n):
    if a[i]%4==0:
        count+=1
    elif a[i]%2==0:
        count2+=1
"""
if count2<=1:
    if n//2<=count4:
        print("Yes")
    else:
        print("No")
else:
    
"""
#print(count2)
if count2<=1:
    if (n-count2//2)//2<=count or n//2<=count:
        print("Yes")
    elif count2%2==0:
        if   (n-count2)//2<count :
            print("Yes ")
        else:
            print("No")
    elif count2%2==1:
        if  (n-count2)//2<=count :
            print("Yes ")
        else:
            print("No")
else:
    if n//2<=count:
        print("Yes")
    else:
        print("No")
