import std.algorithm, std.array, std.container, std.range, std.bitmanip;
import std.numeric, std.math, std.bigint, std.random, core.bitop;
import std.string, std.ascii, std.regex, std.conv, std.stdio, std.typecons;

void main()
{
  auto s = readln.chomp;
  auto hi = new int[](26);
  foreach (c; s)
    if (c.isLower) ++hi[c - 'a'];
  foreach (dchar i; 0..26)
    writefln("%c : %d", dchar(i + 'a'), hi[i]);
}