package no165; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int b = sc.nextInt(); Point[] p = new Point[n]; for(int i=0;i Integer.compare(x.x, y.x)); for(int i=1;i Integer.compare(x.y, y.y)); for(int i=1;i