n = int(input())
a = list(map(int, input().split()))
p = 0
q = 0
for x in a:
  if x%2 == 1:
    p += 1
  elif x%4 == 0:
    q += 1
if (p == q+1 and  p+q == n) or  p <= q:
  print("Yes")
else:
  print("No")