open System let N = Console.ReadLine() let a = Console.ReadLine().Split(' ') a |> Array.map Convert.ToInt64 |> Array.sum |> printfn "%d"