defmodule Main do def main do [a, b] = input() IO.puts("#{a} #{b}") end def input() do input1 = IO.gets("") |> String.trim |> String.split(" ") |> Enum.map(&String.to_integer/1) input2 = IO.gets("") |> String.trim [Enum.sum(input1), input2] end end