n = gets.to_i
a = gets.chomp.split.map(&:to_i)
b1 = a.select { |item| item % 2 == 1 }.count
b2 = a.select { |item| item % 2 == 0 }.count
b4 = a.select { |item| item % 4 == 0 }.count

if b1<=b4+1 || b1 <= b4
  puts 'Yes'
else
  puts 'No'
end
