#include using namespace std; int main() { int x[15],y[15],test,i; bool X=true,Y=true; cin>>test; for(i=0;i>x[i]>>y[i]; } for(i=1;i