defmodule Main do def main do _n1 = IO.gets("") |> String.trim |> String.to_integer IO.gets("") |> String.trim |> String.split(" ") |> Enum.map(&String.to_integer/1) |> Enum.sum() |> IO.puts() end end