#include using namespace std; int main(){ int N;cin>>N; for(int i=0;i>a>>b; if(a<=b){ puts("Win"); continue; } if((a-1)%(b+1)==0)puts("Lose"); else puts("Win"); } }