#include using namespace std; bool check[1001]; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int n; vector > v; int x,y; cin >> n; for(int i=0;i> x >> y; v.push_back(make_pair(x,y)); } vector >> vec; for(int i=0;i