defmodule Main do def main do [n, k] = IO.gets("") |> String.trim |> String.split |> Enum.map(&String.to_integer/1) janken(n, k) end def janken(a, a) do IO.puts "Drew" end def janken(2, 1) do IO.puts "Lost" end def janken(2, 0) do IO.puts "Won" end def janken(1, 2) do IO.puts "Won" end def janken(1, 0) do IO.puts "Lost" end def janken(0, 2) do IO.puts "Lost" end def janken(0, 1) do IO.puts "Won" end end