n = gets.to_i
a = gets.chomp.split(" ").map(&:to_i)
odd = a.count{|num|num%2 == 1}
mult4 = a.count{|num|num%4 == 0}
if (odd <= mult4 && n >= 4) || ((mult4 >= 1 || odd == 0) && n <= 3)
  puts "Yes"
else
  puts "No"
end