#include "bits/stdc++.h" using namespace std; using ll = long long; void Main() { int N, K; cin >> N >> K; if (N % (K + 1) == 1) { cout << "Lose" << endl; } else { cout << "Win" << endl; } } int main() { std::cout << std::fixed << std::setprecision(15); int P; cin >> P; while (P--) { Main(); } return 0; }