import sys
n=int(input())
a=map(int,input().split())
num=[0,0,0]
for i in a:
  if(i%4==0):num[0]+=1
  elif(i%2==0):num[1]+=1
  else:num[2]+=1
if(num[2]==0):print("Yes")
elif(num[2]==1):
  if(num[0]!=0):print("Yes")
  else:print("No")
else:
  if(num[2]>num[0]+1):print("No")
  else:
    if(num[2]==num[0]+1):
      if(num[1]==0):print("Yes")
      else:print("No")
    else:print("No")