n=int(input())
a=[int(i) for i in input().split()]

check=0
check2=0
for i in a:
    if i%4==0:
        check+=1
    elif i%2==0:
        check2+=1
n=n-check2+1
    
print('Yes' if n//2<=check else 'No')