import java.util.*;
import java.io.*;

public class practice
{
	public static void main (String[] args) throws java.lang.Exception
	{
        FastReader scn = new FastReader();
        int t = scn.nextInt();
        while(t>0)
        {
            int n = scn.nextInt();
            int[] arr = new int[n];
            for(int i=0; i<arr.length; i++) arr[i] = scn.nextInt();

            HashSet<Integer> set = new HashSet<>();
            for(int i=0; i<arr.length; i++)
            {
                set.add(arr[i]);
            }

            int a = 0;
            int b = 0;
            int c = 0;
            boolean flag = false;
            for(int i=0; i<arr.length; i++)
            {
                for(int j=i+1; j<arr.length; j++)
                {
                    a = arr[i];
                    b = arr[j];

                    if(a+b < Collections.max(set) && Collections.max(set) != a && Collections.max(set) != b)
                    {
                        flag = true;
                        c = Collections.max(set);
                    }
                }
            }

            if(flag == true) System.out.println(a + " " + b + " " + c);
            else System.out.println(-1);
    
            t--;
        }
    }

    public static class FastReader 
    { 
        BufferedReader br; 
        StringTokenizer st; 
  
        public FastReader() 
        { 
            br = new BufferedReader(new
                     InputStreamReader(System.in)); 
        } 
  
        String next() 
        { 
            while (st == null || !st.hasMoreElements()) 
            { 
                try
                { 
                    st = new StringTokenizer(br.readLine()); 
                } 
                catch (IOException  e) 
                { 
                    e.printStackTrace(); 
                } 
            } 
            return st.nextToken(); 
        } 
  
        int nextInt() 
        { 
            return Integer.parseInt(next()); 
        } 
  
        long nextLong() 
        { 
            return Long.parseLong(next()); 
        } 
  
        double nextDouble() 
        { 
            return Double.parseDouble(next()); 
        } 
  
        String nextLine() 
        { 
            String str = ""; 
            try
            { 
                str = br.readLine(); 
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        } 
    } 
}
