#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long int llint; const int INF = 1000000; const llint LINF = 100000000; int main() { int p; int n[200] = { 0 }, k[200] = { 0 }; cin >> p; for (int i = 0; i < p; i++) { cin >> n[i] >> k[i]; } for (int i = 0; i < p; i++) { if (n[i] <= k[i])cout << "Win" << endl; else if ((n[i]-1) % (k[i] + 1))cout << "Win" << endl; else cout << "Lose"<