using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); for (int i = 0; i < n; i++) { int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(x[0] % (x[1] + 1) == 1 ? "Lose" : "Win"); } } } }