class Calc0046 def initialize(args) args = args.map { |l| l.chomp.split(/\s+/) } @a, @b = args.shift.map(&:to_i) end def run if @b % @a == 0 @b / @a else @b / @a + 1 end end end puts Calc0046.new(STDIN.readlines).run if __FILE__ == $0