#include <iostream>
#include <string>
#include <algorithm>
 
int main()
{
 
    int a = 0,b = 0,c = 0,d = 0,e = 0 ,f = 0,g = 0,h = 0,ii = 0,j = 0,k = 0,l = 0,m = 0,n = 0,o = 0 ,p = 0,q = 0,r = 0,s = 0,t = 0,u = 0,v = 0,w = 0,x = 0,y = 0,z = 0;
 
    while(!std::cin.eof()) {
        std::string str = "";
        std::cin >> str;
        std::transform(str.begin(), str.end(), str.begin(),tolower);
        for (int i = 0; i < str.length(); i++) {
 
 
 
            if (str[i] == 'a') {
                a++;
            } else if (str[i] == 'b') {
                b++;
            } else if (str[i] == 'c') {
                c++;
            } else if (str[i] == 'd') {
                d++;
            } else if (str[i] == 'e') {
                e++;
            } else if (str[i] == 'f') {
                f++;
            } else if (str[i] == 'g') {
                g++;
            } else if (str[i] == 'h') {
                h++;
            } else if (str[i] == 'i') {
                ii++;
            } else if (str[i] == 'j') {
                j++;
            } else if (str[i] == 'k') {
                k++;
            } else if (str[i] == 'l') {
                l++;
            } else if (str[i] == 'm') {
                m++;
            } else if (str[i] == 'n') {
                n++;
            } else if (str[i] == 'o') {
                o++;
            } else if (str[i] == 'p') {
                p++;
            } else if (str[i] == 'q') {
                q++;
            } else if (str[i] == 'r') {
                r++;
            } else if (str[i] == 's') {
                s++;
            } else if (str[i] == 't') {
                t++;
            } else if (str[i] == 'u') {
                u++;
            } else if (str[i] == 'v') {
                v++;
            } else if (str[i] == 'w') {
                w++;
            } else if (str[i] == 'x') {
                x++;
            } else if (str[i] == 'y') {
                y++;
            } else if (str[i] == 'z') {
                z++;
            } else if (str[i] == '.') {
                break;
            }
        }
    }
 
 
    std::cout << "a : " << a << std::endl;
    std::cout << "b : " << b << std::endl;
    std::cout << "c : " << c << std::endl;
    std::cout << "d : " << d << std::endl;
    std::cout << "e : " << e << std::endl;
    std::cout << "f : " << f << std::endl;
    std::cout << "g : " << g << std::endl;
    std::cout << "h : " << h << std::endl;
    std::cout << "i : " << ii << std::endl;
    std::cout << "j : " << j << std::endl;
    std::cout << "k : " << k << std::endl;
    std::cout << "l : " << l << std::endl;
    std::cout << "m : " << m << std::endl;
    std::cout << "n : " << n << std::endl;
    std::cout << "o : " << o << std::endl;
    std::cout << "p : " << p << std::endl;
    std::cout << "q : " << q << std::endl;
    std::cout << "r : " << r << std::endl;
    std::cout << "s : " << s << std::endl;
    std::cout << "t : " << t << std::endl;
    std::cout << "u : " << u << std::endl;
    std::cout << "v : " << v << std::endl;
    std::cout << "w : " << w << std::endl;
    std::cout << "x : " << x << std::endl;
    std::cout << "y : " << y << std::endl;
    std::cout << "z : " << z << std::endl;
    return 0;
}

Measured memory_bytes: 3152