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

m_numbers = []
o_numbers = []
t_numbers = []

AS.each do |a|
  if a == 2
    t_numbers << a
  elsif a % 4 == 0
    m_numbers << a
  else
    o_numbers << a
  end
end
if t_numbers.length.odd? && !t_numbers.empty?
  o_numbers << t_numbers.pop
end

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