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