program HelloWorld;
var
count, sum, mult, a : integer;
average : real;
begin
count:=3;
sum:=0;
mult:=1;
while count>0 do
begin
readln(a);
count:=count-1;
sum:=sum+a;
mult:=mult*a;
end;
average:=sum/3;
writeln('Сумма - ',sum);
writeln('Произведение - ',mult);
writeln('Среднее арифметическое - ',average);
end.