1170: 字母统计条形图

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

输入多行英文文本,统计所有字母出现的频率(不区分大小写),然后用条形图的样式输出统计结果。每出现一次用一个*表示。具体样式详见样例

Input

第一行,输入一个数字n(0<n<10),以下n行,输入英文文本。每行字符数不超过100。

Output

用条形图的样式输出统计结果。具体样式详见样例。

Sample Input Copy

5
As food is to the body, so is learning to the mind. 
Our bodies grow and muscles develop with the intake of adequate nutritious food. 
Likewise, we should keep learning day by day to maintain our keen mental power and expand our intellectual capacity. 
Constant learning supplies us with inexhaustible fuel for driving us to sharpen our power of reasoning, analysis, and judgment. 
Learning incessantly is the surest way to keep pace with the times in the information age, and an infallible warrant of success in times of uncertainty.

Sample Output Copy

A:*************************........
B:****.............................
C:*****............................
D:****************.................
E:*********************************
F:******...........................
G:*******..........................
H:********.........................
I:*************************........
J:*................................
K:****.............................
L:***************..................
M:*****............................
N:***************************......
O:**************************.......
P:*********........................
Q:*................................
R:***************..................
S:********************.............
T:**********************...........
U:****************.................
V:**...............................
W:*******..........................
X:**...............................
Y:******...........................
Z:.................................