Program HOC24;
var i,n,min: integer;
a: array[1..10000] of integer;
begin
write('Nhap so phan tu: '); readln(n);
for i:=1 to n do
begin
write('Nhap phan tu thu ',i,' :'); readln(a[i]);
end;
min:=a[1];
for i:=2 to n do
if a[i]<min then min:=a[i];
write('Phan tu nho nhat la: ',min);
readln
end.