#include using namespace std; int main(){ int P, N, K; cin >> P; while(P--){ cin >> N >> K; if((N - 1) % (K + 1) == 0) cout << "Lose" << endl; else cout << "Win" << endl; } }