using System; using System.Linq; namespace yukicoder { class Program { static void Main(string[] args) { var n = Int32.Parse(Console.ReadLine()); var a = Console.ReadLine().Split(' ').Select(s => Int64.Parse(s)).ToArray(); Int64 sum = 0; for (Int32 i = 0; i < n; i++) { sum += a[i]; } Console.WriteLine(sum); } } }