import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ Scanner s = new Scanner(System.in); int q = s.nextInt(); for(int j=0;jx_max){ x_max = arr[i][0]; }if(arr[i][0]y_max){ y_max = arr[i][1]; }if(arr[i][1]