_ = input()
A = list(map(int, input().strip().split(' ')))

a_4,a_2 = 0,0
for a in A:
  if a%4 == 0:
    a_4 += 1
  elif a%2 == 0:
    a_2 += 1

res = 0
if a_4 > 0:
  res += a_4*2+1
if a_2 > 1:
  res += a_2

print('Yes' if res >= len(A) else 'No')