import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int[] n = new int[a]; int[] k = new int[a]; for(int i = 0; i < a; i++){ n[i] = sc.nextInt(); k[i] = sc.nextInt(); if((n[i] - 1) % (k[i] + 1) == 0){ System.out.println("Lose"); }else{ System.out.println("Win"); } } } }