Using roman numerals the numbers are written as
IX. Numbers are
Any number smaller than can be written by converting tens and ones separately and concatenating the results. So, for example, the number would be written as for and for .
Given a number written in roman numerals, rearrange it's characters so that you create the smallest possible number, written in roman numerals.
The first and only line of input contains one integer , written using roman numerals.
The first and only line of output should contain a rearrangement of input characters so that it represents the smallest possible number, written in roman numerals.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2
Sample Input 3
Sample Output 3