=begin
a = gets.split("").map{|x| x.to_s}
b = gets.split("").map{|x| x.to_s}
count = 0
3.times do |i|
  if a[i] == b[i]
    count += 1
  end
end

p count
=end

a = gets.split(" ").map{|x| x.to_f}

if a[0] == a[1]
  p 1
  exit()
end
a[1] -= a[0]

if(a[1] / (a[0] - 1) < 0)
  p 1
  exit()
elsif(a[1] / (a[0] - 1) >= 0 and a[1] / (a[0] - 1) < 1)
  hoge = 1
else
  hoge = a[1] / (a[0] - 1)
end

p (hoge + 1).to_i
