n = int(input())
a = list(map(int, input().split()))
div4 = 0
div2 = 0
for i in a:
  if i % 4 == 0:
    div4 += 1
  elif i % 2 == 0:
    div2 += 1
if n - div4 - div2 <= div4 + 1:
  print("Yes")
else:
  print("No")
