import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;

public class A {

    public static void main(String[] args) throws IOException {
        new A().run();
    }

    private void load_inputs(final BufferedReader br) throws IOException {
        try (PrintWriter pw = select_output();) {
            int t = Integer.valueOf(br.readLine().trim());
            while(t-- > 0) {
                int n = Integer.valueOf(br.readLine().trim());
                int[] a = Arrays.stream(br.readLine().trim().split("\\s+")).mapToInt(v -> Integer.valueOf(v)).toArray();
                solve(n, a, pw);
            }
        }
    }
    
    private void solve(final int n, final int[] a, final PrintWriter pw) {
        if(a[0] + a[1] > a[n - 1]) {
            pw.println(-1);
        } else {
            pw.println(String.format("%d %d %d", a[0], a[1], a[n - 1]));
        }
    }

    String nameIn = getClass().getSimpleName().substring(0, 1) + ".in";
    String nameOut = null;

    private void run() throws IOException {
        File input = null;
        if (nameIn != null && (input = new File(nameIn)).exists()) {
            try (
                    FileReader fr = new FileReader(input);
                    BufferedReader br = new BufferedReader(fr);) {
                load_inputs(br);
            }
        } else {
            try (
                    InputStreamReader fr = new InputStreamReader(System.in);
                    BufferedReader br = new BufferedReader(fr);) {
                load_inputs(br);
            }
        }
    }

    PrintWriter select_output() throws FileNotFoundException {
        if (nameOut != null) {
            return new PrintWriter(nameOut);
        }
        return new PrintWriter(System.out);
    }
    
}
