input = gets.chomp
arr = input.split(' ')
a = arr[0].to_i
b = arr[1].to_i

### p (b.to_f/a.to_f).ceil
plag_num = 1
count = plag_num * a
while true
  break if count >= b
  count += (a - 1)
  plag_num += 1
end
p plag_num