Var A:array [1..10] of integer;
b,min,max,i:integer;
c:real;
begin
b:=0;
c:=0;
for i:=1 to 10 do readln(A[i]);
for i:=1 to 10 do b:=b+A[i];
c:=b/10;
min:=A[1];
max:=A[1];
for i:=1 to 10 do
if A[i]for i:=1 to 10 do
if A[i]>max then max:=A[i];
writeln(c);
writeln(min);
writeln(max);
end.