try:
    def subset(arr, data, start, end, index, r):
        if index==r:
            if data[0]+data[1]<data[2]:
                print(data)
                quit()
        for i in range(start,end+1):
            if (end-i+1>=r-index):
                data[index]=arr[i]
                subset(arr, data, i+1, end, index+1, r)
    
    def prints(arr, n, r):
        data=[0]*r
        subset(arr, data, 0, n-1, 0, r)
    
    for _ in range(int(input())):
        n=int(input())
        arr=list(map(int, raw_input().split()))
        k=3
        prints(arr,n,k)
    
except IndexError:
    print(-1)