n=int(input())
hoge=list(map(int,input().split()))
d0,d2,d4=0,0,0
for i in range(n):
  if(hoge[i]%4==0):
    d4+=1
  elif(hoge[i]%2==0):
    d2+=1
  else:
    d0+=1
if(d2!=0):
  d0+=1  
if(d0-d4>1):
  print("No")
else:
  print("Yes")