s = str(input()) for i in range(97, 123): v = s.count(chr(i)) if(v>0): print(chr(i) + ": " + str(v))