N = gets.to_i
AS = gets.split.map(&:to_i)

m_numbers = []
o_numbers = []

AS.each do |a|
  if a % 4 == 0
    m_numbers << a
  else
    o_numbers << a
  end
end
two_number_of_count = o_numbers.count { |n| n == 2 }

if m_numbers.length >= (o_numbers.length - 1 - (two_number_of_count / 2))
  puts('Yes')
else
  puts('No')
end