n=int(input())
a=list(map(int,input().split()))
count=0
count2=0
for i in range(n):
    if a[i]%4==0:
        count+=1
    elif a[i]%2==0:
        count2+=1
#print(count2)
if (n-count2//2)//2<=count or n==count2 :
    print("Yes")
elif  2<=count2 and count2%2==0 and (n-count2)//2<=count:
    print("Yes")#
else:
    print("No")