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)
ZGVmIGFiYyhhKToKICAgIEw9bGVuKGEpCiAgICBmb3IgaSBpbiByYW5nZShMLTEpOgogICAgICAgbT1pCiAgICAgICBmb3IgaiBpbiByYW5nZShpKzEsTCk6CiAgICAgICAgICBpZiBhW2pdPGFbbV06CiAgICAgICAgICAgICAgbT1qCiAgICAgICBhW2ldLGFbbV09YVttXSxhW2ldCmE9WzY0LDM0LDI1LDEyLDIyLDExLDkwXQphYmMoYSkKcHJpbnQoYSk=