n=int(input())
a=list(map(int,input().split()))
cnt1=0
cnt4=0
for i in a:
  if i%2==1:
    cnt1+=1
  elif i%4==0:
    cnt4+=1
if n==3 and cnt4==1 and cnt1==2:
  print('Yes')
elif cnt4>=cnt1:
  print('Yes')
else:
  print('No')
