Program lyalyalya;
var a:array[1..8] of integer;i,min,max:integer;
begin
randomize;
for i:=1 to 8 do a[i]:=random(85)+15;min:=maxint;max:=-maxint;
for i:=1 to 8 do begin write(a[i],' ');
if a[i]>max then max:=a[i];end;
writeln('Максимально число: ',max);
readln;
end.