n=int(input())
l=list(map(int,input().split()))
a=0
b=0
for i in l:
    if i%4==0:
        a+=1
    if i%2==0:
        b+=1
b=b-a
if n<=2*a+1:
    print('Yes')
elif (n-2*a)<=b:
    print('Yes')
else:
    print('No')