defmodule Main do def main do {n1, n2} = input() Enum.sum(n2) end def input() do n1 = IO.gets("") |> String.trim |> String.to_integer n2 = IO.gets("") |> String.trim |> String.split |> Enum.map(&String.to_integer/1) {n1, n2} end end