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