#000297

Reci

Luke and Mark are playing a game. The goal of the game is to find the lexicographically smallest string from a given string.(construct a string from all characters from a given string).


InputGiven a string (length <=80 ).

OutputThe first line contains a string which is lexicographically smallest.

Input
pas
Output
aps

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.