n = int(input())
a = [int(i) for i in input().split()]
f, t = 0, 0
for ai in a:
  if ai % 4 == 0:
    f += 1
  elif ai % 2 == 0:
    t += 1	
r = n - 2 * f
if r - 1 <= 0 or r <= t:
  print("Yes")
else:
  print("No")