1329: 统计小写字母

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:20 Solved:12

Description

输入一串小写字母,统计出每个字母在该字符串中出现的次数(若某字母不出现,则不要输出)。

Input

输入一串小写字母

Output

输出每个字母在该字符串中出现的次数

Sample Input Copy

aaaabbbccc

Sample Output Copy

a:4
b:3
c:3