N = int(input())
a = list(map(int,input().split()))
one = 0
four = 0
two = 0
     
for j in range(N):
     
  if a[j]%2 == 1:
	one += 1
  elif a[j]%4 == 0:
	four += 1
  else :
	two +=1
     
      
if one <= four:
	print('Yes')
else :
	if two == 0:
          if four >= (one+1):
	    print('Yes')
        else:
	  print('No')