def xyz(a):
n=len(a)
for i in range(n-1):
for j in range(0,n-i-1):
if a[j]> a[j+1]:
a[j],a[j+1]=a[j+1],a[j]
n=[64,34,25,12,22,11,90]
xyz(n)
print("sorted array")
print(n)
ZGVmIHh5eihhKToKICAgIG49bGVuKGEpCiAgICBmb3IgaSBpbiByYW5nZShuLTEpOgogICAgICAgIGZvciBqIGluIHJhbmdlKDAsbi1pLTEpOgogICAgICAgICAgaWYgYVtqXT4gYVtqKzFdOgogICAgICAgICAgICAgYVtqXSxhW2orMV09YVtqKzFdLGFbal0Kbj1bNjQsMzQsMjUsMTIsMjIsMTEsOTBdCnh5eihuKQpwcmludCgic29ydGVkIGFycmF5IikKcHJpbnQobik=