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

ok = [a[i] for i in range(n) if a[i] % 4 == 0]
bad = [a[i] for i in range(n) if a[i] % 4 > 0]

nok = len(ok)
nbad = len(bad)
if nok >= nbad:
   print('Yes')
elif nbad - nok <= 1:
   print('Yes')
else:
   ok2 = [bad[i] for i in range(nbad) if a[i] % 2 == 0]
   if len(ok2) >= 2 and nbad - 2 <= nok:
      print('Yes')
   else:
      print('No')
