uses crt;
var a: array[1..100] of integer;
i,n,s,max: integer;
tbc: real;
begin
clrscr;
write ('nhap n: '); readln (n);
for i:=1 to n do
begin
write ('nhap phan tu thu ',i,': '); readln (a[i]);
s:=s+A[i];
end;
max:=a[1];
for i:=2 to n do
if a[i]>max then max=a[i];
tbc:=s/n;
writeln ('tong cua day so tren: ',s);
writeln ('trung binh cong cua day so tren: ',tbc:1:2);
writeln ('so lon nhat trong day: ',max);
readln;
end.