import strutils, sequtils proc solve(n, k: int): string = if n mod (k + 1) == 1: "Lose" else: "Win" var ans = "" let P = stdin.readLine.parseInt for i in 0 ..< P: var N, K: int (N, K) = stdin.readLine.split.map parseInt ans.add solve(N, K) & "\n" stdout.write ans