100 atcoder#ABC139B. [ABC139B] Power Socket

[ABC139B] Power Socket

Score : 200200 points

Problem Statement

Takahashi's house has only one socket.

Takahashi wants to extend it with some number of power strips, each with AA sockets, into BB or more empty sockets.

One power strip with AA sockets can extend one empty socket into AA empty sockets.

Find the minimum number of power strips required.

Constraints

  • All values in input are integers.
  • 2A202 \leq A \leq 20
  • 1B201 \leq B \leq 20

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the minimum number of power strips required.

4 10
3

33 power strips, each with 44 sockets, extend the socket into 1010 empty sockets.

8 9
2

22 power strips, each with 88 sockets, extend the socket into 1515 empty sockets.

8 8
1