zfc='qwertyuiopasdfghjklzxcvbnm'
tj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,]
while 1:
t=input()
if '#' in t:
break
for i in list(t):
if i in zfc:
tj[ord(i)-ord('a')]=tj[ord(i)-ord('a')]+1
for i in list(t):
if i in zfc:
tj[ord(i) - ord('a')] = tj[ord(i) - ord('a')] + 1
for i in range(26):
print(chr(ord('a')+i),tj[i])
0.0分
0 人评分