s=''

try:

  while True:

   sentence=eval(input())

   s+=sentence

except:

    pass

    sentence2=s.lower()

    for i in[chr(i) for i in range(97,97+26)]:

     print((i,':',sentence2.count(i)))
s=''

try:

  while True:

   sentence=eval(input())

   s+=sentence.lower()

except:

    for i in[chr(i) for i in range(97,97+26)]:

     print((i,':',s.count(i)))
s = ""
try:
    while True:
        sentence = eval(input())
        s += sentence
except:
    pass
    sentence2 = s.lower()
    for i in [chr(i) for i in range(97, 97 + 26)]:
        print((i, ":", sentence2.count(i)))

s = ""
try:
    while True:
        sentence = eval(input())
        s += sentence.lower()
except:
    for i in [chr(i) for i in range(97, 97 + 26)]:
        print((i, ":", s.count(i)))

-        s += sentence +        s += sentence.lower() -    pass -    sentence2 = s.lower() -        print((i, ":", sentence2.count(i))) +        print((i, ":", s.count(i)))