class Stairs attr_reader :s, :f def initialize(s: 0, f: 0) @s, @f = s, f end def datainput begin @s, @f = gets.chomp.split.map { |v| Integer(v) } rescue end end def stair(s, f) s / f + 1 end def dataoutput puts stair(@s, @f) end def run datainput dataoutput end end if $0 == __FILE__ Stairs.new.run end