TO N
40 INPUT “Введите A(”, I, “)”, A(I)
50 NEXT
I60 FOR I=1 TO N-1
70 M=A(I): K=I
80 FOR J=I+1 TO N
90 IF A(I)
110 X=A(I): A(I)=M: A(K)=X
120 NEXT I
130 FOR I=1 TO N
140 PRINT “A(”, I, “)=”, A(I)
150 NEXT I
160 END