T = [2, 65, 42, 53, 27, 2, 42, 27, 2, 53, 53, 53, 65, 21, 27, 53, 2, 53, 65, 27
    ]
n = len(T)
for j in range(0, len(T) - 1):
    indiceMin = j
    for k in range(j + 1, len(T)):
        if T[k] < T[indiceMin]:
            indiceMin = k
    if indiceMin != j:
        T[j], T[indiceMin] = T[indiceMin], T[j]
print(T)

74eb2c3fbd1f333b29e0b97036283b25615dce45
<mask token>

<mask token>
for j in range(0, len(T) - 1):
    indiceMin = j
    for k in range(j + 1, len(T)):
        if T[k] < T[indiceMin]:
            indiceMin = k
    if indiceMin != j:
        T[j], T[indiceMin] = T[indiceMin], T[j]
print(T)

T = [2, 65, 42, 53, 27, 2, 42, 27, 2, 53, 53, 53, 65, 21, 27, 53, 2, 53, 65, 27
    ]
n = len(T)
for j in range(0, len(T) - 1):
    indiceMin = j
    for k in range(j + 1, len(T)):
        if T[k] < T[indiceMin]:
            indiceMin = k
    if indiceMin != j:
        T[j], T[indiceMin] = T[indiceMin], T[j]
print(T)
