N = int(input())
def d(n):
  if n % 2 == 1:
    return 0
  elif n % 4 == 0:
    return 2
  elif n % 2 == 0:
    return 1
  else:
    return 0
  
dic = {0:0, 1:0, 2:0}
for a in [int(x) for x in input().split()]:
  dic[d(a)] += 1
ret = 'No'
if dic[0] <= dic[2] + 1:
  ret = 'Yes'
print(ret)