defmodule Main do def main do x = IO.gets("") |> String.trim |> String.split(" ", trim: true) |> Enum.map(&String.to_integer/1) |> Enum.sum |> Integer.to_string s = IO.gets("") IO.puts(x <> " " <> s) end end