// I SELL YOU...! #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using P = pair; using TP = tuple; void init_io(){ cin.tie(0); ios::sync_with_stdio(false); cout << setprecision(18); } signed main(){ init_io(); ll p; cin >> p; vector n(p),k(p); for(int i=0;i> n[i] >> k[i]; if((n[i]-1)%(k[i]+1)==0) cout <<"Lose"<