третья

 avatar
unknown
plain_text
3 years ago
203 B
4
Indexable
g = list(input().split())
for i in range(len(g)):
    for p in range(len(g) - 1):
        if int(g[p + 1] + g[p]) > int(g[p] + g[p + 1]):
            g[p], g[p + 1] = g[p + 1], g[p]
print(*g,sep='')
Editor is loading...