#include<stdio.h>
#include<string.h>
int main()
{
int A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z;
char str[100],ch;
int i,j;
while(gets(str)!=NULL)
{
j=strlen(str);
A=B=C=D=E=F=G=H=I=J=K=L=M=N=O=P=Q=R=S=T=U=V=W=X=Y=Z=0;
for(i=0;i<j;i++)
{
ch=str[i];
switch(ch){
case'a':case'A':A++;break;
case'b':case'B':B++;break;
case'c':case'C':C++;break;
case'd':case'D':D++;break;
case'e':case'E':E++;break;
case'f':case'F':F++;break;
case'g':case'G':G++;break;
case'h':case'H':H++;break;
case'i':case'I':I++;break;
case'j':case'J':J++;break;
case'k':case'K':K++;break;
case'l':case'L':L++;break;
case'm':case'M':M++;break;
case'n':case'N':N++;break;
case'o':case'O':O++;break;
case'p':case'P':P++;break;
case'q':case'Q':Q++;break;
case'r':case'R':R++;break;
case's':case'S':S++;break;
case't':case'T':T++;break;
case'u':case'U':U++;break;
case'v':case'V':V++;break;
case'w':case'W':W++;break;
case'x':case'X':X++;break;
case'y':case'Y':Y++;break;
case'z':case'Z':Z++;break;
}
}
if(A>0)printf("a:%d\n",A);
if(B>0)printf("b:%d\n",B);
if(C>0)printf("c:%d\n",C);
if(D>0)printf("d:%d\n",D);
if(E>0)printf("e:%d\n",E);
if(F>0)printf("f:%d\n",F);
if(G>0)printf("g:%d\n",G);
if(H>0)printf("h:%d\n",H);
if(I>0)printf("i:%d\n",I);
if(J>0)printf("j:%d\n",J);
if(K>0)printf("k:%d\n",K);
if(L>0)printf("l:%d\n",L);
if(M>0)printf("m:%d\n",M);
if(N>0)printf("n:%d\n",N);
if(O>0)printf("o:%d\n",O);
if(P>0)printf("p:%d\n",P);
if(Q>0)printf("q:%d\n",Q);
if(R>0)printf("r:%d\n",R);
if(S>0)printf("s:%d\n",S);
if(T>0)printf("t:%d\n",T);
if(U>0)printf("u:%d\n",U);
if(V>0)printf("v:%d\n",V);
if(W>0)printf("w:%d\n",W);
if(X>0)printf("x:%d\n",X);
if(Y>0)printf("y:%d\n",Y);
if(Z>0)printf("z:%d\n",Z);
printf("\n");
}
}