import scala.io.StdIn._

object Main {
  def inputCount(s: String, c: Char): Int = {
    (for(i <- s if i.toLower == c) yield i).length
  }

  def main(args: Array[String]): Unit = {
    val input = readLine()
    val aToZ = for(i <- 'a' to 'z') yield i
    for(i <- aToZ) println(i + " : " + inputCount(input, i))
  }
}