#include <stdio.h>
#include <string.h>
int main()
{
char a[10000001];
int cnt[26]={0};
int v=a[i]-97;
cnt[v]++;
}
for(int i=0;i<26;i++){
if(cnt[i]!=0){
printf("%c : %d\n",i
+97,cnt
[i
]); }
cnt[i]=0;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KaW50IG1haW4oKQp7CiAgICBjaGFyIGFbMTAwMDAwMDFdOwogICAgc2NhbmYoIiVzIiwgYSk7CiAgICBpbnQgY250WzI2XT17MH07CiAgICBmb3IoaW50IGk9MDtpPHN0cmxlbihhKTtpKyspewogICAgICAgIGludCB2PWFbaV0tOTc7CiAgICAgICAgY250W3ZdKys7CiAgICB9CgogICAgZm9yKGludCBpPTA7aTwyNjtpKyspewogICAgICAgIGlmKGNudFtpXSE9MCl7CiAgICAgICAgICAgIHByaW50ZigiJWMgOiAlZFxuIixpKzk3LGNudFtpXSk7CiAgICAgICAgfQogICAgICAgIGNudFtpXT0wOwogICAgfQogICAgcmV0dXJuIDA7Cn0=