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

/**
  * AOJ
  */
object Main {

  val alphabet = "abcdefghijklmnopqrstuvwxyz"

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

    val alphabetMap = read()

    for(c <- alphabet){
      println(c + " : " + alphabetMap(c).toString)
    }
  }

  def read(): mutable.Map[Char,Int] = {

    var alphabetMap = mutable.Map.empty[Char, Int]

    for (c <- alphabet) {
      alphabetMap += c -> 0
    }

    for (line <- stdin.getLines(); c <- line.toLowerCase) {
      if (line.length == 0) {
        return alphabetMap
      }
      if (alphabetMap.contains(c)) {
        alphabetMap(c) += 1
      }
    }
    alphabetMap
  }
}