#include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ int p; cin >> p; while(p--){ int n,k; cin >> n >> k; if(n <= k){ cout << "Win" << endl; continue; } if( (n-1) % (k+1) == 0 ){ cout << "Lose" << endl; }else{ cout << "Win" << endl; } } return 0; }