N = int(input())
a = [int(i) for i in input().split()]

odd_count = 0
four_times_count = 0
two_times_count = 0
for i in a:
  if i % 4 == 0:
    four_times_count += 1 
  elif i % 2 != 0:
    odd_count += 1
  elif i % 2 == 0 and i % 4 != 0:
    two_times_count += 1

if odd_count == four_times_count or (two_times_count == 0 and odd_count - four_times_count == 1):
  print('Yes')
else: 
  print('No')
