Program hotrotinhoc;
var min,i,n: integer;
a: array[1..32000] of integer;
begin
write('Nhap so nguyen N : '); readln(n);
min:=32000;
for i:=1 to n do
begin
write('Nhap so thu ',i,' :'); readln(a[i]);
if min>a[i] then min:=a[i];
end;
write('So nho nhat trong N so vua nhap la :',min);
readln
end.