LearnPy Hub
← Arena
EasyRating 800

Helpful Maths

A sum like 3+2+1 uses only 1, 2 and 3. Rewrite it with the numbers in non-decreasing order.

Input

One line.

Output

One line.

Sample 1

Input
3+2+1
Output
1+2+3

Sample 2

Input
1+1+3+1+3
Output
1+1+1+3+3
solution.py
Output appears here
Helpful Maths · Python Arena problem · LearnPy Hub