package main import ( "fmt" ) func resolve(N, K int) bool { return N%(K+1) != 1 } func main() { var P int fmt.Scanf("%d\n", &P) N := make([]int, P) K := make([]int, P) for i := 0; i < P; i++ { fmt.Scanf("%d %d\n", &N[i], &K[i]) } for i := 0; i < P; i++ { if resolve(N[i], K[i]) { fmt.Println("Win") } else { fmt.Println("Lose") } } }