#include #include using namespace std; int T; int main() { cin>>T; while(T>0) { int x,y; scanf("%d %d",&x,&y); cout<