#include <stdio.h>
#include <string.h>
#define MAX 1000
#define SIZE 256
void main()
{
int strNums[SIZE];
char str[MAX];
int i,len;
for(i=0;i<SIZE;i++)
strNums[i]=0;
gets(str);
len=strlen(str);
for(i=0;i<len;i++)
strNums[(int)str[i]]++;
for(i=0;i<SIZE;i++)
if(strNums[i]!=0)
printf("%c=%d ",i,strNums[i]);
}