//PascalABC.NET 3.4.2
begin
var seq := readseqreal(readinteger('Введите n:')).ToArray;
seq.Min.Println;
seq.Max.Println;
end.
//PascalABC.NET 3.4.2
begin
var seq := readseqreal(readinteger('Введите n:')).ToArray;
seq.Min.Println;
seq.Max.Println;
end.