N = int(input())
a = list(map(int,input().split()))
count=0
for i in a:
  if i%4==0:
    count+=1

if len(a)%2 ==0:
    if a.count(2)//2+count >= len(a)/2:
    	print('Yes')
    else:
        print('No') 
else:
    if a.count(2)//2+count >= (len(a)-1)/2:
    	print('Yes')
    else:
        print('No')