def abc(a):
L=len(a)
for i in range(L-1):
m=i
for j in range(i+1,L):
if a[j]<a[m]:
m=j
a[i],a[m]=a[m],a[i]
a=[64,34,25,12,22,11,90]
abc(a)
print(a)
ZGVmIGFiYyhhKToKICAgIEw9bGVuKGEpCiAgICBmb3IgaSBpbiByYW5nZShMLTEpOgogICAgICAgIG09aQogICAgICAgIGZvciBqIGluIHJhbmdlKGkrMSxMKToKICAgICAgICAgICBpZiBhW2pdPGFbbV06CiAgICAgICAgICAgICBtPWoKICAgICAgICAgICAgIGFbaV0sYVttXT1hW21dLGFbaV0KYT1bNjQsMzQsMjUsMTIsMjIsMTEsOTBdCmFiYyhhKQpwcmludChhKQ==