#define REP(i,n) for(int i=0; i<(int)(n); i++) #include inline int getInt(){ int s; scanf("%d", &s); return s; } #include using namespace std; int main(){ const int p = getInt(); REP(_,p){ const int n = getInt(); const int k = getInt(); puts(n > k && (n - 1) % (k + 1) == 0 ? "Lose" : "Win"); } return 0; }