require 'scanf' def main gets input = $<.map(&:chomp) input.each do |p| n,k = p.scanf('%d%d') if (n-1) % (k+1) == 0 puts "Lose" else puts "Win" end end end main()