gets readlines.each{|line|n,k=line.split.map &:to_i puts ~-n%-~k>0 ?:Win: :Lose}