n = gets.to_i
a_numbers = gets.split.map(&:to_i)

multiples_of_four = a_numbers.count { |number| number % 4 == 0 }
multiples_of_two = a_numbers.count { |number| number.even? } - multiples_of_four
rest = n - (multiples_of_four + multiples_of_two) + multiples_of_two % 2

puts (multiples_of_four + 1) >= (rest + (multiples_of_two / 2)) ? 'Yes' : 'No'
