N=int(input())
ans='Yes'
odd=0
four=0
for x in map(int,input().split()):
    if x%2==1:
        odd+=1
    elif x%4==0:
        four+=1
if four+1<odd:
    ans='No'
elif four+1==odd and odd+four<N:
    ans='No'
print(ans)