#include using namespace std; int main(){ int P; cin>>P; while(P--){ int N,K; cin>>N>>K; cout<<(N%(K+1)==1?"Lose":"Win")<