#include
#include
using namespace std;
int main(){
int num[26] = { 0 };
char a[100] = {0};//初始化有问题
int i;
gets(a);
for (i = 0; a[i] != '\0'; ++i){
if (isalpha(a[i])) {
if (isupper(a[i]))
a[i] = tolower(a[i]);
++num[a[i] - 97];
}
}
for ( i = 0; i < 26; ++i)
if (num[i] != 0)
cout << char(97 + i) << ":" << num[i] << endl;
return 0;
}