#include main(){ int N; scanf("%d",&N); for(int i = 0;i < N;i++){ int a,b; scanf("%d%d",&a,&b); printf("%s\n",a%++b-1?"Win":"Lose"); } }