import java.util.Scanner; public class 明太子 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[][] x=new int[n][2]; for(int i=0;i=y[i][0])&&(x[j][1]<=y[i][1])) z[i]++; } int max=0; for(int i=0;i