import scala.io.StdIn.readLine

object Main extends App {

  val alpha = Array.fill[Int](128)(0)

  def count():Unit = {
    val l = readLine
    if(l != null) {
      l.trim.foreach { s => alpha(s.toLower) += 1 }
      count()
    }
  }

  count()
  for(i <- 'a' to 'z')
    println(i + " : " + alpha(i))
}