//No.8 N言っちゃダメゲーム #include using namespace std; int main() { int P; cin >> P; for (; P > 0; --P) { int N, K; cin >> N >> K; if ((N - 1) % (K + 1)) cout << "Win" << endl; else cout << "Lose" << endl; } return 0; }