open System let yuki9009 : unit = let N = stdin.ReadLine() |> int [| for i=0 to N-1 do stdin.ReadLine() |> int64 |] |> Array.sum |> stdout.WriteLine