N = int(input())
A = list(map(int,input().split()))
four = 0
two = 0

for e in A:
  if e % 4 == 0:
    four += 1
  elif e % 2 == 0:
    two += 1
if (four*2+two)>=(N-1):
  print('Yes')
else:
  print('No')