#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int P, i, N, K; cin >> P; for (i = 0; i != P; ++i) { cin >> N >> K; if (N % (K + 1) == 1) cout << "Lose\n"; else cout << "Win\n"; } return 0; }