var
ar: array[1..5]of integer;
i, sum: integer;
begin
sum := 0;
for i := 1 to 5 do
read(ar[i]);
sum := sum + ar[i];
end;
write(sum);
end.
var
ar: array[1..5]of integer;
i, sum: integer;
begin
sum := 0;
for i := 1 to 5 do
begin
read(ar[i]);
sum := sum + ar[i];
end;
write(sum);
end.