object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val result = Array.fill(26)(0)
  val head = 'a' to 'z'
  while (sc.hasNext) {
    val cAry = sc.nextLine.toLowerCase.toCharArray.filter(inAToZ)
    cAry.foreach(countUp)
  }
  for (i <- result.indices) println(s"${head(i)} : ${result(i)}")

  def inAToZ(c: Char): Boolean = c >= 'a' && c <= 'z'

  def countUp(c: Char): Unit = result(c - 'a') += 1
}