1820: 尽可能大的数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Normal Judger Creator:
Submit:139 Solved:37

Description

输入一个三位数的正整数,将数字位置重新排列,组成一个尽可大的三位数。例如:输入213,重新排列可得到尽可能大的三位数是321。


Input

三位数的正整数。

Output

重排后尽可能大的三位数。

Sample Input Copy

213

Sample Output Copy

321

Source/Category