#include using namespace std; int main() { int n, dame, max; cin >> n; for (int i = 0; i < n; i++){ cin >> dame >> max; if (dame < max){ cout << "Win" << endl; } else if ((dame - 1) % (max + 1) == 0||max){ cout << "Lose" << endl; } else if ((dame - 1) % (max + 1) < max){ cout << "Win"<< endl; } else cout << "Lose" << endl; } }