#include using namespace std; int main(void){ int p, n,k; cin >> p; for (int i=0; i> n >> k; cout << (n%(k+1)==1?"Lose":"Win") << endl; } return 0; }