b = int(input())

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

co = 0
s = 0
ss = 0

for i in range(len(a)):
  while a[i] % 2 == 0:
    co += 1
    a[i] //= 2
  if co == 1:
    s += 1
  elif co >= 2:
    ss += 1
  
b -= s

if b % 2 == 1 && s > 0:
  b += 1
elif b % 2 == 1 && s == 0:
  b -= 1
b //= 2

if ss >= b:
  print("Yes")
else:
  print("No")
