
t = int(input())
for _ in range(t):
    n = int(input())
    a = [int(x) for x in input().split()]
    ta, tb, tc = 100001, 100001, 100001
    for i in range(n):
        if a[i] < ta:
            tc = tb
            tb = ta
            ta = a[i]
            ina = i
        elif a[i] < tb:
            tc = tb
            tb = a[i]
        elif a[i] < tc and tc <= n :
            tc = a[i]
            if ta + tb < tc:
                del a[ina]
                i = 0

    if tc != 100001:
        print(ta, tb, tc)
    else: print(-1)
