using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication4 { class Program { static void Main() { int P = int.Parse(Console.ReadLine()); int[,] NK = new int[P, 2]; for(int i = 0; i < P; i++) { string s = Console.ReadLine(); NK[i, 0] = int.Parse(s.Split(' ')[0]); NK[i, 1] = int.Parse(s.Split(' ')[1]); } for(int i = 0; i < P; i++) { if ((NK[i, 0] - 1) % (NK[i, 1] + 1) == 0) { Console.WriteLine("Lose"); } else { Console.WriteLine("Win"); } } } } }