defmodule Main do def main do IO.gets("") IO.gets("") |> String.trim |> String.split |> Enum.map(fn n -> String.to_integer(n) end) |> Enum.sum |> IO.puts end end