import std.algorithm;
import std.array;
import std.ascii;
import std.conv;
import std.math;
import std.stdio;
import std.string;
import std.range;

int readint() {
    return readln.chomp.to!int;
}

int[] readints() {
    return readln.split.map!(to!int).array;
}

void main() {
    int[char] m;
    string s;
    while ((s = readln.chomp).length > 0) {
        foreach (c; s) {
            if (isAlpha(c)) {
                m[c]++;
            }
        }
    }

    foreach (c; lowercase) {
        auto b = c in m;
        writefln("%s : %s", c, b == null ? 0 : *b);
    }
}