Read a word from input. Count how many times each letter appears and print each letter with its count, sorted alphabetically.
Example: for hello:
hello
e: 1 h: 1 l: 2 o: 1