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