import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader buff = new BufferedReader(new InputStreamReader(System.in)); try { int count = Integer.parseInt(buff.readLine()); while(count-- > 0){ String[] box = buff.readLine().split(" "); int N = Integer.parseInt(box[0]); int K = Integer.parseInt(box[1]); if(N <= K){ System.out.println("Win"); continue; } if((N-K-2) % (K+1) == 0){ System.out.println("Lose"); }else{ System.out.println("Win"); } } } catch (NumberFormatException e) { e.getStackTrace(); } catch (IOException e) { e.getStackTrace(); } catch (Exception e) { e.getStackTrace(); } } }