#include int main(void){ int N, M, i, j; scanf("%d", &N); int Ai[N], Bi[N]; for(i=0;i= Xi[j] && Bi[i] <= Yi[j]){ sum[j]++; } } } int max = 0; for(j=0;j