import scala.io.Source

object Main {
  def main(args: Array[String]) = {
    val line = Source.stdin.getLines.mkString

    'a' to 'z' foreach { c =>
      println(s"${c}:" + line.count(_ == c))
    }
  }
}