#include using namespace std; #define fastcin {\ cin.tie(0);\ ios::sync_with_stdio(false);\ } #define REP(i, a) for(int i = 0; i < a; i++) #define scan(x) cin >> x #define print(x) cout << x << "\n" int main() { fastcin; int p; scan(p); int n, k; REP(i, p) { cin >> n >> k; if (((n-1)%(k+1))) print("Win"); else print("Lose"); } return 0; }