object Main {
  def main(args: Array[String]): Unit = {
    val count = scala.collection.mutable.Map[Char, Int]()
    val in = io.Source.stdin.getLines.mkString("")
    for(c <- in) {
      if(c.isLetter) count(c.toLower) = count.getOrElse(c.toLower, 0) + 1
      if(c == '.') {
        for(c <- 'a' to 'z') println(s"$c : ${count.getOrElse(c, 0)}")
        System.exit(0)
      }
    }
  }
}

