


Let 'S'= “abAb”.
Here the characters ‘a’ and ‘A’ have frequency 1 and character ‘b’ has frequency ‘2’.
Therefore the sorted string is “bbAa”.
The first line contains a single integer ‘N’ denoting the length of the string ‘S’.
The next line contains the string ‘S’.
The only line contains "true" if the answer is correct otherwise "false".
You do not need to print anything. It has already been taken care of. Just implement the function.
We will sort string ‘s’ as follows:-