import scala.io.StdIn.readLine

object Main extends App {
  val alpha = Array.fill[Int](128)(0)

  readLine.trim.foreach { s => alpha(s.toLower) += 1 }
  for(i <- 'a' to 'z')
    println(i + " : " + alpha(i))
}