eolymp
bolt
Try our new interface for solving problems
Problems

Two numbers

Two numbers

Time limit 1 second
Memory limit 128 MiB

Two integers are given. Print the maximum number that can be obtained from their digits.

For example, from digits of numbers 345 and 6090737 we can get the maximum number 9776543300.

Input data

Two numbers a and b~(1 \le a, b \le 10^9) are given in one line.

Output data

Print the biggest number that can be obtained from digits of numbers a and b.

Examples

Input example #1
345 6090737
Output example #1
9776543300