using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Magatro { static int P; static int[] N, K; static void Main() { Read(); for(int i = 0; i < P; i++) { Console.WriteLine(Ans(N[i], K[i])); } } static string Ans(int n,int k) { bool[] A = new bool[n+1]; A[n] = true; for(int i = n; i >= 0; i--) { for(int j = 1; j <= k; j++) { if (i - j < 0) { break; } A[i - j] ^= !A[i]; } } if (A[0]) { return "Win"; } else { return "Lose"; } } static void Read() { P = int.Parse(Console.ReadLine()); N = new int[P]; K = new int[P]; for (int i = 0; i