You are given an array A of N integers. Find the smallest index i (1≤i≤N−1) such that:
If no such index exists, print −1.
Input format
Output format
For each test case in a new line, print the smallest index satisfying the condition.
Constraints
1≤T≤101≤N≤1050≤A[i]≤105
Note
If i=1,
Hence, index 1 is required answer.