import java.util.Scanner; public class LocateCenter { static int x_center = -1; static int y_center = -1; private static void solveLocateCenter(int [] sites_x, int [] sites_y) { /* ------------------- INSERT CODE HERE --------------------- * * After finding the location of the mining center, assign it to the variables * x_center and y_center. * * */ /* -------------------- END OF INSERTION --------------------*/ } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int numCases = sc.nextInt(); for(int i = 0; i < numCases; i++) { int numberOfSites = sc.nextInt(); int [] sites_x = new int[numberOfSites]; int [] sites_y = new int[numberOfSites]; for(int j = 0; j < numberOfSites; j++) { sites_x[j] = sc.nextInt(); sites_y[j] = sc.nextInt(); } solveLocateCenter(sites_x, sites_y); System.out.println("LOCATION " + x_center + " " + y_center); } } }