#include #define rep(i, n) for(long long i = 0; i < n; i++) #define ALL(v) (v).begin(), (v).end() using namespace std; using lint = long long; int main() { int p; cin >> p; while (p--) { int n, k; cin >> n >> k; cout << ((n - 1) % (k + 1) != 0 ? "Win" : "Lose") << endl; } }