uses crt;
var a:array[1..10]of integer;
i,t:integer;
begin
clrscr;
for i:=1 to 10 do readln(a[i]);
t:=0;
for i:=1 to 10 do t:=t+a[i];
writeln(t);
readln;
end.
var i,s,n: integer;
a: array[1..100] of integer;
begin
readln(n);
for i:=1 to n do begin readln(a[i]); s:=s+a[i]; end;
write(s);
readln
end.