#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int T; cin >> T; while(T--) { int a,b; int XOR = 0; cin >> a >> b; if((a-1)%(b+1)==0) { cout << "Lose" << '\n'; } else { cout << "Win" << '\n'; } } return 0; }