n=int(input())
arr=list(map(int,input().split()))
cnt1=0
cnt2=0
for i in range(n):
  if arr[i]%4==0:
    cnt1+=1
  elif arr[i]%2==0:
    cnt2+=1
if cnt1*2>=n:
  print('Yes')
else:
  n-=(cnt1*2-1)
  if cnt2>=n:
    print('Yes')
  else:
    print('No')