5655: Q65-2 输出各个小写字母的个数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:27 Solved:17

Description

从键盘上输入一段英文句子,统计并输出句子中各个小写字母出现的次数(设输人的字符小于 1000 个 )。

Input

asdkjalksjd

Output

a:2 b:0 c:0 d:2 e:0 
f:0 g:0 h:0 i:0 j:2 
k:2 l:1 m:0 n:0 o:0 
p:0 q:0 r:0 s:2 t:0 
u:0 v:0 w:0 x:0 y:0 
z:0

Sample Input Copy

asdkjalksjd

Sample Output Copy

a:2 b:0 c:0 d:2 e:0 
f:0 g:0 h:0 i:0 j:2 
k:2 l:1 m:0 n:0 o:0 
p:0 q:0 r:0 s:2 t:0 
u:0 v:0 w:0 x:0 y:0 
z:0