n1 = 0
n2 = 0
n4 = 0
nb = int(input())
for v in map(int,input().split()):
   if v%4 == 0:
      n4 += 1
   elif v%2 == 0:
      n2 += 1
   else:
      n1 += 1
if (n1 <= n4) or (n1 == n4 + 1 and n2 == 0):
   print('Yes')
else:
   print('No')
