#include #define rep(i,n) for(int i=0;i<(n);i++) #define ALL(A) A.begin(), A.end() using namespace std; /* No.8 N言っちゃダメゲーム ARC 046B の類題(こっちの方が簡単) */ int main() { ios_base::sync_with_stdio(0); int p; cin >> p; rep (i, p){ int n, k; cin >> n >> k; if ((n - 1) % (k + 1) == 0){ cout << "Lose" << endl; }else{ cout << "Win" << endl; } // end if } // end rep return 0; }