s1=input() n=0 for i in range(97,97+27): n=s1.count(chr(i)) if n>0: print("{}:{}".format(chr(i),n),end=" ") /************************************************************** Problem: 1164 User: admin Language: Python Result: Accepted Time:98 ms Memory:34244 kb ****************************************************************/