inputs = gets.split(nil) steps = inputs[0] steps_per_floor = inputs[1] puts steps_per_floor # puts (steps / steps_per_floor -1)