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[0] = true; for(int i = 0; i=n+1) { break; } A[i + j] |= !A[i]; } } if (A[n]) { 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