import scala.io.Source.stdin

object Main extends App {

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

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