Yalnız kiçik latın hərflərindən ibarət bir sətir verilir. Bu sətirdəki hərfləri əvvəlcə artan, sonra isə azalan şəkildə ASCII kodlarına görə sıralayın.
InputThe input contains a single line consisting of no more than lowercase Latin letters ('a'–'z').
OutputOn the first line, print the letters of the string sorted in ascending ASCII order; on the second line, print them in descending ASCII order.
Nümunə 1