import java.util.Scanner; public class Main { public static void main(String[] a) { Scanner s=new Scanner(System.in); s.nextInt(); while(s.hasNext())System.out.println(s.nextInt()%(s.nextInt()+1)==1?"Lose":"Win"); } }