defmodule Main do def main do IO.read(:line) |> String.split() |> Enum.map(&String.to_integer/1) |> solve |> IO.puts() end defp solve([n, k]) do cond do n == k -> "Drew" (n - k + 3) |> rem(3) == 2 -> "Won" true -> "Lost" end end end