#include <iostream>
#include <cstring>
using namespace std;
int main() {
char sir[100];
cout<<"sir =";
gets(sir);
int vec_ap[256]={0};
for(int i=0; i<strlen(sir); i++)
vec_ap[sir[i]]++;
for(int i=0; i<256; i++)
if(vec_ap[i]!=0)
printf("%c : %d\n",i,vec_ap[i]);
return 0 ;
}