import std.stdio, std.string, std.conv;
import std.regex;

void main() {
	auto input = getStdin!(string[]);
	auto data = input.join.toLower.replaceAll(regex(r"[^a-z]"), "").dup.representation;
	foreach (cp; 97..123) {
		char c = cp.to!char;
		"%c : %d".writefln(c, data.count(c));
	}
}

T getStdin(T)() {
    string[] cmd;
    string line;
    while ((line = chomp(stdin.readln())) != "") cmd ~= line;
    return to!(T)(cmd);
}