n = int(input())
n1 = 0
n2 = 0
n4 = 0
for a in map(int,input().split()):
  if a%4 == 0:
    n4 += 1
  elif a%2 == 0:
    n2 += 1
  else:
    n1 += 1
if n1 <= n4:
  print('Yes')
elif n1 == n4+1 and n2 == 0:
  print('Yes')
else:
  print('No') 