object Main {
  def main(args: Array[String]): Unit = {
    val counts = new Array[Int]('z' - 'a' + 1)

    Iterator.continually(io.StdIn.readLine())
      .takeWhile(Option(_).exists(_.nonEmpty))
      .foreach(_.foreach { c =>
        if ('A' <= c && c <= 'Z') {
          counts(c - 'A') += 1
        } else if ('a' <= c && c <= 'z') {
          counts(c - 'a') += 1
        }
      })

    counts
      .zipWithIndex
      .map { case (s, i) => s"${('a' + i).toChar} : $s" }
      .foreach(println)
  }
}