#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int p; cin >> p; for(int i = 0; i < p; i++) { int n, k; cin >> n >> k; if(n <= k - 1) { cout << "Win" << endl; continue; } else { if ((n - 1) % (k + 1) == 0) { cout << "Lose" << endl; } else { cout << "Win" << endl; } } } return 0; }