using System;
int current;
int sum=0;
for (int i=1; i<=10; i++)
{
current = int.Parse(Console.ReadLine());
sum=sum+current;
}
Console.WriteLine(sum);