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[4] == 0:
  if d[2] == 0 and d[-1] == 0:
    print("Yes")
  else:
    print("No")
else:
  if d[2] + d[-1] / d[4] <= 2:
    print("Yes")
  else:
    print("No")