N = int(input())
nums = list(map(int, input().split()))
two = 0
four = 0
for num in nums:
  if num%4 == 0:
    four += 1
  elif num%2 == 0:
    two += 1
if four + two//2 >= N//2:
  print('Yes')
else:
  print('No')