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

a = [i%100 if i >100 else i for i in a]

num = len(a)
four = 0
two = 0
one = 0
for i in range(num):
  if a[i]%4 == 0:
    four += 1
  elif a[i]%2 == 0 and a[i]%4 != 0:
    two += 1
  elif a[i]%2 != 0:
    one += 1

if four + 1 >= two//2 + one:
  print('Yes')
else:
  print('No')