2106 - 【入门】字符串排序

读入 5 个字符串,将每个字符串内排序后,再将这些内部有序的字符串进行排序。

Input

输入五个字符串

Output

排序后的字符串

Examples

Input

aAba0
ABcdE
8*aBc
P847;
ao8o*

Output

*8Bac
*8aoo
0Aaab
478;P
ABEcd
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题