while 1:a=input().split();i,j,*_=map(a.index,sorted(a));a[i],a[j]=a[j],a[i];print(*a)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page