a,b = list(map(int,input().split()))



num = 0

while True:

  if a * num - (num-1) >= b:

    break

    

  num += 1

  

print(num)
a,b=list(map(int, input().split()))

c="必要な電源タップ数は"

d="個です。"

count=0

total=1

while True:

    

#    total+=a

    

#    if total<b:

#        total-=1

#        count+=1

#    else:

#        break

    if total >= b:

        break

    total += (a-1)

    count+=1

print(count)
a, b = list(map(int, input().split()))
num = 0
while True:
    if a * num - (num - 1) >= b:
        break
    num += 1
print(num)

a, b = list(map(int, input().split()))
c = "必要な電源タップ数は"
d = "個です。"
count = 0
total = 1
while True:
    #    total+=a
    #    if total<b:
    #        total-=1
    #        count+=1
    #    else:
    #        break
    if total >= b:
        break
    total += a - 1
    count += 1
print(count)

-num = 0 +c = "必要な電源タップ数は" +d = "個です。" +count = 0 +total = 1 -    if a * num - (num - 1) >= b: +    #    total+=a +    #    if total<b: +    #        total-=1 +    #        count+=1 +    #    else: +    #        break +    if total >= b: -    num += 1 -print(num) +    total += a - 1 +    count += 1 +print(count)