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

n0 = n1 = n2 = 0
AS.each do |n|
  if n % 4 == 0 then n2 += 1
  elsif n % 2 == 0 then n1 += 1
  else n0 += 1
  end
end

if n2 >= N/2
  puts "Yes"
elsif n1 >= N - (n2*2 + 1)
  puts "Yes"
else
  puts "No"
end


