def main gets input = $<.map(&:split) input.each do |p| if (p[0].to_i-1) % (p[1].to_i+1) == 0 puts "Lose" else puts "Win" end end end main()