steps = gets.to_i steps_per_floor = gets.to_i puts steps / steps_per_floor -1