include
include
include
using namespace std;
int main(){
string str;
while(getline(cin,str)){//循环输入一行
for(char i='A';i<='Z';++i){ //从a到z循环
int sum=0;
for(int j=0;j<str.size();++j){
if(i==str[j]){
sum++;
}
}
cout<<i<<":"<<sum<<endl;
} } return 0;
}