# your code goes here
N=int(input())
a=[int(i) for i in input (). split ()]
M=0
M1=0
for i in range (N):
    if a[i]%2==0:
        M+=1
        a[i]//=2
        if a[i]%2==0:
            M1+=1
N-=M
if N==0:
    p="Yes"
elif M1+1>=N:
    p="Yes"
else:
    p="No"
print (p)