        let aStr = String(readLine()!) // 1つあたりの差し口の数
        let bStr = String(readLine()!) // 求める差し口の数
        let aNum = Int(aStr) ?? 0
        let bNum = Int(bStr) ?? 0
        
        print(bNum / (aNum - 1))