третья

mail@pastecode.io avatar
unknown
plain_text
2 years ago
203 B
1
Indexable
Never
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='')