n=int(input())
a=list(map(int, input().split()))
b=len(a)
c=len([i for i in a if i%2==0])
a2=len([i for i in a if i%4==0])
a1,a0=c-a2,b-c
if a0>0 and a2>=a0-1 and a2+a1>=2: print('Yes')
elif:  a2+a1>=2: print('Yes')
else: print('No')