import scala.collection.mutable
import scala.io.Source.stdin

/**
  * AOJ
  */
object Main {

  val alphabet = "abcdefghijklmnopqrstuvwxyz"

  def main(args: Array[String]): Unit = {

    val alphabetMap = mutable.Map.empty[Char, Int]
    setValues(alphabetMap)
    for(c <- alphabet){
      println(c + " : " + alphabetMap(c))
    }
  }

  def setValues(alphabetMap:mutable.Map[Char,Int]):Unit = {
    for (c <- alphabet) {
      alphabetMap += c -> 0
    }
    for (line <- stdin.getLines()){
      if (line.length == 0) {
        return
      }
      for(c <- line.toLowerCase) {
        if (alphabetMap.contains(c)) {
          alphabetMap(c) += 1
        }
      }
    }
  }
}