Spy Detected!
You are given an array $$$a$$$ consisting of $$$n$$$ ($$$n \ge 3$$$) positive integers. It is known that in this array, all the numbers except one are the same (for example, in the array $$$[4, 11, 4, 4]$$$ all numbers except one are equal to $$$4$$$).Print the index of the element that does not equal others. The numbers in the array are numbered from one.
The first line contains a single integer $$$t$$$ ($$$1 \le t \le 100$$$). Then $$$t$$$ test cases follow.The first line of each test case contains a single integer $$$n$$$ ($$$3 \le n \le 100$$$) — the length of the array $$$a$$$.The second line of each test case contains $$$n$$$ integers $$$a_1, a_2, \ldots, a_n$$$ ($$$1 \le a_i \le 100$$$).It is guaranteed that all the numbers except one in the $$$a$$$ array are the same.
For each test case, output a single integer — the index of the element that is not equal to others.
t = int(input())
for _ in range(t):
    n = int(input())
    a = list(map(int, input().split()))
    count = {}
    for num in a:
        count[num] = count.get(num, 0) + 1
    for (i, num) in enumerate(a):
        if count[num] == 1:
            print(i + 1)
            break
for t in range(int(input())):
    int(input())
    a = [int(x) for x in input().split()]
    m = min(a[:3])
    if a[:3].count(m) > 1:
        for i in range(len(a)):
            if a[i] != m:
                print(i + 1)
                break
    else:
        for i in range(len(a)):
            if a[i] == m:
                print(i + 1)
                break
t = int(input())
for _ in range(t):
    n = int(input())
    arr = list(map(int, input().split()))
    count = {}
    for i in range(n):
        if arr[i] in count:
            count[arr[i]] += 1
        else:
            count[arr[i]] = 1
    for i in range(n):
        if count[arr[i]] == 1:
            print(i + 1)
            break