program NhapMang;
var
mang: array[1..10] of integer;
n, i, tich, max: integer;
begin
write('Nhap so phan tu cua mang: ');
readln(n);
tich := 1;
for i := 1 to n do
begin
write('Nhap phan tu thu ', i, ' cua mang: ');
readln(mang[i]);
tich := tich * mang[i];
end;
max := mang[1];
for i := 2 to n do
if mang[i] > max then
max := mang[i];
writeln('Tich cua cac phan tu trong mang la: ', tich);
writeln('Phan tu co gia tri lon nhat la: ', max);
readln;
end.