#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int p; cin >> p; vector> a(p); for(int i = 0; i < p; i++) { int n, k; cin >> n >> k; a[i] = make_pair(n, k); } for(int i = 0; i < p; i++){ if(a[i].first % (a[i].second + 1) == 1) cout << "Lose" << endl; else cout << "Win" << endl; } return 0; }