a, b = gets.split(' ').map(&:to_i)

  # d = b / a
  # puts b % a != 0 ? d + 1 : d
count = 0
life = b
damege = 0

loop do
  life -= 1
  damege += a
  count += 1

  if life == 0 || damege >= b
    break;
  end
end

puts count
