n = gets.to_i
four_arr = gets.chomp.split(' ').map(&:to_i).map{|i| i%4}.sort
two_arr = four_arr.map{|i| i %2}
num_of_odd = two_arr.bsearch_index{|i| i > 0}
num_of_four = four_arr.bsearch_index{|i| i > 0}
if num_of_four >= num_of_odd - 1
  puts "Yes"
else
  puts "No"
end