n = int(input())
a = list(map(int, input().split()))

d = {2:0, 4:0, -1:0}

for i in a:
  if i % 4 == 0:
    d[4] += 1
  elif i % 2 == 0:
    d[2] += 1
  else:
    d[-1] += 1

d[2] = d[2] % 2

if d[-1] + d[2] <= d[4]:
  print("Yes")
else:
  print("No")