import scala.io.Source.stdin

object Main {
  def main(args: Array[String]) {
    val alphabets = Array.fill[Int](128)(0)
    stdin.getLines.foreach { _.foreach {
      char => alphabets(char.toLower) += 1
    }}

    for (i <- 'a' to 'z') {
      println(i + " : " + alphabets(i))
    }
  }
}

