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

void main() {
	string l;
	string[] i;
	while ((l = stdin.readln.chomp) != "") i ~= l;
	auto d = i.join.toLower.replaceAll(regex(r"[^a-z]"), "").dup.representation;
	foreach (cp; 97..123) {
		char c = cp.to!char;
		"%c : %d".writefln(c, d.count(c));
	}
}