while True:
try:
inp=list(input().strip())
#print(inp)
#inp=sorted(inp)
for i in range(65,91):
#print(chr(i))
index=chr(i)
if index in inp:
num=inp.count(index)
print(index+':'+str(num))
else:
print(index+':'+'0')
except:
break
from collections import defaultdict
while True:
try:
a, dd = input(), defaultdict(int)
for i in a:
if i.isupper(): dd[i] += 1
for i in range(65, 91):
print(chr(i) + ":" + str(dd[chr(i)]))
except:
break
from collections import Counter
from string import ascii_uppercase as a
try:
while 1:
L = Counter(filter(lambda x:x.isupper() is True, raw_input()))
for i in a:
print i + ':' + str(L[i]) if i in a else i + ':' + '0'
except:
pass