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