N=int(input())
A=list(map(int,input().split()))
OD=0
EV4=0
for i in A:
  if i%2==1:
    OD+=1
  elif i%4==0:
    EV4+=1
EV=N-OD-EV4
ret = 'No'
if EV4>=OD:
  ret='Yes'
elif EV4==OD-1 and EV==0:
  ret='Yes'
print(ret)