from copy import deepcopy

from math import ceil

if __name__ == "__main__":



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

    n = deepcopy(a[0])

    i = 1

    if a[0] == a[1]: print(i)

    elif a[1] == 1: print((0))

    elif a[0] >= a[1]: print(i)

    else:

        while True:

            i += 1

            n += a[0] - 1

            if n >= a[1]:

                print(i)

                break
#n = input()

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

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

#c = list(map(int, input().split()))

r = 1

c = 0

if a[1] == 1:

    print((0))

elif a[0] == a[1]:

    print((1))

else:

    while r < a[1]:

        c += 1

        r -= 1

        r += a[0]

    print(c)
from copy import deepcopy
from math import ceil

if __name__ == "__main__":
    a = list(map(int, input().split()))
    n = deepcopy(a[0])
    i = 1
    if a[0] == a[1]:
        print(i)
    elif a[1] == 1:
        print((0))
    elif a[0] >= a[1]:
        print(i)
    else:
        while True:
            i += 1
            n += a[0] - 1
            if n >= a[1]:
                print(i)
                break

# n = input()
a = list(map(int, input().split()))
# b = list(map(int, input().split()))
# c = list(map(int, input().split()))
r = 1
c = 0
if a[1] == 1:
    print((0))
elif a[0] == a[1]:
    print((1))
else:
    while r < a[1]:
        c += 1
        r -= 1
        r += a[0]
    print(c)

-from copy import deepcopy -from math import ceil - -if __name__ == "__main__": -    a = list(map(int, input().split())) -    n = deepcopy(a[0]) -    i = 1 -    if a[0] == a[1]: -        print(i) -    elif a[1] == 1: -        print((0)) -    elif a[0] >= a[1]: -        print(i) -    else: -        while True: -            i += 1 -            n += a[0] - 1 -            if n >= a[1]: -                print(i) -                break +# n = input() +a = list(map(int, input().split())) +# b = list(map(int, input().split())) +# c = list(map(int, input().split())) +r = 1 +c = 0 +if a[1] == 1: +    print((0)) +elif a[0] == a[1]: +    print((1)) +else: +    while r < a[1]: +        c += 1 +        r -= 1 +        r += a[0] +    print(c)