#include using namespace std; int main() { int t; scanf("%d",&t); int x,y; int start,end; bool haha=true; set s1,s2; for(int i=0;i