_ = input()
hoge = map(int,input().split())
count_even = 0
count_divisibleBy4 = 0
for i in hoge:
  if i % 2 == 0:
    count_even += 1
  	if i % 4 == 0:
      count_divisibleBy4 += 1
      
if count_even == len(hoge) or count_divisibleBy4 >= len(hoge) // 2:
  print('Yes')
else:
  print('No')