{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"MD","content":"游俊爽是夺金小分队的一位数学天才,在讨伐boss的旅途上,陈路迪给他出了一道数学加法,但是呢,我们的数学天才游俊爽不会计算那么复杂的算式,迪迪表示如果他不把这个算式解出来,就把他扔到海里喂鲨鱼。\n\n游神只会计算每一项按照非递减顺序排列的加法算式,例如**1+1+2,3+3**他会算,但是**1+3+2**他就变成憨憨了。\n\n他希望你能写一个程序,帮他简化迪子哥给的算式。"}},{"title":"Input","value":{"format":"MD","content":"输入一个没有空格的字符串*S* ,迪迪也觉得游俊爽是个数学天才,所以这个字符串只包含 +,1,2,3"}},{"title":"Output","value":{"format":"MD","content":"请输出**简化后**的算式"}},{"title":"Examples","value":{"format":"MD","content":"Input\n\n3+2+1\n\nOutput\n\n1+2+3\n\nInput\n\n1+1+3+1+3\n\nOutput\n\n1+1+1+3+3\n\nInput\n\n2\n\nOutput\n\n2"}}]}