case IO.gets("")|> String.split |> Enum.map(&Integer.parse/1) |> Enum.map(&elem(&1,0)) do [_, _, _, 1] -> IO.puts "SURVIVED" [a, b, c, _] when a+b+c<2 -> IO.puts "SURVIVED" _ -> IO.puts "DEAD" end