N = int(raw_input())
A = map(int, raw_input().split())
c = [0, 0, 0]
for a in A:
  if a%4==0:
    c[2]+=1
  elif a%2==0:
    c[1]+=1
  else:
    c[0]+=1
while sum(c)>0:
  if c[0]==0:
    print 'Yes'
    break
  elif sum(c)==1:
    print 'Yes'
    break
  elif c[2]==0:
    print 'No'
    break
  else:
    c[0]-=1
    c[2]-=1