using System; using System.Linq; namespace prob9009 { class Program { static void Main(string[] args) { int c = int.Parse(Console.ReadLine()); long[] a = new long[c]; for (int i = 0; i < c; i++) { a[i] = long.Parse(Console.ReadLine()); } Console.WriteLine(a.Sum()); } } }