#include "bits/stdc++.h" using namespace std; int main() { int P; cin >> P; for (int i = 0; i < P; i++) { int N, K; cin >> N >> K; if ((N - 1) % (K + 1) == 0) { cout << "Lose" << endl; } else { cout << "Win" << endl; } } return 0; }