Research
time limit per test
3 seconds
memory limit per test
512 megabytes
input
standard input
output
standard output

Research: Draw cards from 1 of the facedown Level Decks equal to your Research Amount. You may choose 1 to Build or File.

Alice and Bob will play a game with a deck of cards. This deck consists of $$$n-1$$$ white cards and one green card. Initially, the green card is located at the $$$s$$$-th place from the top of the deck, with the number $$$1$$$ written on it. Both Alice and Bob know the place of the green card.

Alice goes first. In each turn, they should proceed as follows:

Alice needs to maximize the score, while Bob needs to minimize it. You have to find the final score of the game if both of them play optimally.

Input

Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 50$$$). The description of the test cases follows.

The only line of each test case contains three integers $$$n$$$, $$$k$$$, and $$$s$$$ ($$$1\le n,k\le 10^9$$$, $$$1\le s\le n$$$).

Output

For each test case, if the game will never end, output a line with the word Infinity; otherwise, output a single integer — the score of the game.

Example

Input
6
3 2 1
5 3 4
10 3 1
7 3 7
817247666 7237 327476688
610723117 332458760 292738094
Output
2
0
2
4
3470
278264358

Note

In the first test case, an optimal process of the game is as follows. Alice should take $$$2$$$ cards from the top, discard nothing, and return the green card to the bottom of the deck. Then Bob should take $$$2$$$ white cards from the top and discard one. On the third turn, Alice should discard the green card with the number $$$2$$$ written on it.

In the second test case, Bob will take the green card first and discard it. Therefore, the score should be $$$0$$$.