main = getLine >> getContents >>= mapM_ putStrLn . map (\(n:k:[]) -> if k > n then "Win" else if n `mod` (k + 1) == 1 then "Lose" else "Win") . map (map read . words) . lines