#include #include #include #include #include #include #include using namespace std; #define mem(a) memset(a,0,sizeof(a)) const int maxn = 100005; int main() { int t; int x,y; scanf("%d",&t); while(t--) { scanf("%d%d",&x,&y); cout<