func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

let ab=readInts()
let a=ab[0]
let b=ab[1]
var mouth=a
var ans=1

repeat{
  if(mouth>=b){print(ans)
               break}
  ans+=1
  mouth+=a-1
}while(true)