import scala.io.Source

object Main{
  def main(args: Array[String]){
    val line =
      for{
        in <- Source.stdin.getLines.toList
      } yield in.map(c => c.toLower)

    def numOfChar(s: String, c:Char):Int = {
      var num = 0
      s collect {
        case x if(x == c) => num += 1
        case _ =>
      }
      num
    }

    for(l <- line){
      ('a' to 'z').foreach(c => println(c + " : " + numOfChar(l,c)))
    }
  }
}