using System; class Program { static void Main () { int n = int.Parse (Console.ReadLine ()); ulong ans = 0; for (int i = 0; i < n; i++) { ans += ulong.Parse (Console.ReadLine ()); } Console.WriteLine (ans); } }