#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int q,n,x[11],y[11],minx,miny,maxx,maxy,i,j; cin>>q; for(i=0;i>n; for(j=0;j>x[j]>>y[j]; if(x[j]maxx) { maxx=x[j]; } if(y[j]maxy) { maxy=y[j]; } } for(j=0;j