There are $N$ people, numbered from $1$ to $N$, who participated in a round-trip race between two points. The following information is recorded about this race.
* The **outward** times of any two people were different, and person $i$ $(1 \leq i \leq N)$ had the $i$\-th fastest outward time.
* The **round-trip** times (the sum of the outward and return times) of any two people were different, and person $i$ $(1 \leq i \leq N)$ had the $P_i$\-th fastest round-trip time.
* The person (or persons) with the fastest **return** time was awarded the **fastest return award**.
Here, $P_1, P_2, \dots, P_N$ is a permutation of $1, 2, \dots, N$.
How many people could have received the **fastest return award**?
There are $T$ test cases. Answer each of them.
## Constraints
* $1 \leq T \leq 500$
* $2 \leq N \leq 10^3$
* $P_1, P_2, \dots, P_N$ is a permutation of $1, 2, \dots, N$.
* All input values are integers.
* The sum of $N$ over all test cases in a single input is at most $10^3$.
## Input
The input is given from Standard Input in the following format:
$T$
$\mathrm{case}_1$
$\vdots$
$\mathrm{case}_T$
Each test case, $\mathrm{case}_i\ (1 \leq i \leq T)$, is given in the following format:
$N$
$P_1$ $P_2$ $\cdots$ $P_N$
[samples]