uses crt;
var a:array[1..6]of integer;
i,t:integer;
begin
clrscr;
for i:=1 to 6 do
begin
write('Nhap diem cua ban thu ',i,':'); readln(a[i]);
end;
t:=0;
for i:=1 to 6 do
t:=t+a[i];
writeln('Tong diem trung binh la: ',t);
writeln('Diem trung binh cua day la: ',t/6:4:2);
readln;
end.