Spongebob is having a cryptography lesson today!
Today's lesson is about substitution cipher (http://en.wikipedia.org/wiki/Substitution_cipher),
which is a method of encryption whereby every alphabet is replaced by another alphabet.
Cracking a code encrypted by substitution is rather easy due to the flaws of the English Language.
This is because certain letters are more frequently used than others. For example: E is used 11% of the time while Q is only used 0.2%.
As such, Spongebob's teacher, wants spongebob to investigate the frequency of letters of the language used in Bikini-Bottom.
However, there might be thousands of letters, making it very boring for Spongebob to count one by one.
Create a program that count the number of time every letter appears.
The first line of input will be a single integer, n
is the total number of letters that follow and 0 < n
The second line of input will be n
The lettes will all be in lowercase and there are no spaces in between them.
Output the corresponding frequency of each letter, A-Z.
Refer to sample output for more details.