#include
int main()
{char c;
int i,a[10]={0};
scanf("%c",&c);
while(c!='\n')
{if(c>='0'&&c<='9')a[c-'0']++;
scanf("%c",&c);
}
for(i=0;i<10;i++)
printf("%d: %d\n",i,a[i]);
return 0;
}
#include
int main()
{char c;
int i,a[10]={0};
scanf("%c",&c);
while(c!='\n')
{if(c>='0'&&c<='9')a[c-'0']++;
scanf("%c",&c);
}
for(i=0;i<10;i++)
printf("%d: %d\n",i,a[i]);
return 0;
}