n = gets.to_i cheby = gets.strip.split(' ').map(&:to_i) #p @cheby goal = gets.strip.split(' ').map(&:to_i) #p @goal p (goal.max.to_f / cheby.max).ceil