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