In a car race, there are N cars 1,2 ... N where the ith car is moving with a speed of (N - i + 1). All the cars are moving in the same direction.
The current position of the cars is Xi. Determine the time at which the first overtake takes place.
Note: Overtake is defined as the place when a car crosses another car that is ahead of it.
Input format
Output format
For each test case, print a single line containing one integer representing the time at which the first overtake takes place.
Constraints
1≤T≤1042≤N≤1051≤M≤1090≤Xi≤109Xi<Xi+1 for (1≤i≤N−1)It is guaranteed that the sum of N over all test cases does not exceed 2⋅105
The first overtake takes place at time t = 1.