import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.*; class Points{ int x,y; Points(int a,int b){ x=a; y=b; } } public class Pro1 { static int N; static Points array[]; public static void main(String args[] ) throws Exception { BufferedReader scan = new BufferedReader(new InputStreamReader(System.in)); int q = Integer.parseInt(scan.readLine()); label:for(int i=0;iarray[start].y) min_y = array[start].y; if(max_yarray[start].y) min_y = array[start].y; if(max_y ys = new HashSet(); for(int in=start;in<=end;in++){ if(array[in].y>min_y && array[in].y0 && array[temp].x0 && array[temp].y