import std.stdio, std.string, std.ascii, std.algorithm;

void main() {
    string str, tmp;
    while ((tmp = readln.chomp.toLower) != "") {
        str ~= tmp;
    }
    foreach (ab; lowercase) {
        writeln(ab, " : ", str.count(ab));
    }
}
