#include <iostream>
using namespace std;
#include <string>


int main() {

int count[26];
for(int i=0;i<26;i++){
    count[i]=0;
}
string str;
while(getline(cin,str)){
    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++){
        string s;
        s='A'+i;
        cout<<s<<":"<<count[i]<<endl;
    }
}

}