#include<iostream> #include<cstdio> #include<string> #include<cstring> using namespace std; int count[26]; int main(){ string str; while(getline(cin,str)){ memset(count,0,sizeof(count)); for(int i=0;i<str.size();++i){ if(str[i]>='A'&&str[i]<='Z'){ ++count[str[i]-'A']; } } for(int i=0;i<26;++i){ printf("%c:%d\n",'A'+i,count[i]); } } return 0; }