import java.util.Scanner; import java.util.InputMismatchException; public class DonotSayN { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); try{ int P = scanner.nextInt(); for(int i = 0 ; i < P ; i++){ int N = scanner.nextInt(); int K = scanner.nextInt(); if((N - 1) % (K + 1) == 0){ System.out.println("Lose"); }else{ System.out.println("Win"); } } }catch(InputMismatchException e){ System.out.println("数字を入力してください"); }catch(Exception E){ System.out.println("想定外のエラーです"); } } }