#include using namespace std; int main() { int P, N, K; cin >> P; while (P--) { cin >> N >> K; N--; while (0 < N - K - 1) { N -= (K + 1); } if (N <= K) { cout << "Win" << endl; } else { cout << "Lose" << endl; } } return 0; }