#include int main() { int p; std::cin >> p; for (auto i = 0; i < p; ++i) { int n, k; std::cin >> n >> k; if (n % (k + 1) == 1) { std::cout << "Lose\n"; } else { std::cout << "Win\n"; } } return 0; }