n = gets.to_i
a = gets.chomp.split.map(&:to_i)
odd = 0
even4 = 0
a.each do |x|
  if x % 4 == 0
    even4 += 1
  elsif x % 2 != 0
    odd += 1
  end
end
if n == 3
  puts (odd <= even4 + 1)? "Yes" : "No"
else
  puts (odd <= even4)? "Yes" : "No"
end