N = gets.to_i
wer = Hash.new(0)
gets.split.map do |ar|
  a = ar.to_i
  if a % 4 == 0
    wer[4] += 1
  elsif a % 2 == 0
    wer[2] += 1
  else
    wer[0] += 1
  end
end
# p wer
wer[0] += 1 if wer[2] == 1
# binding.pry
puts wer[0] - wer[4] > 1 ? "No" : "Yes"