object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val result = Array.fill(26)(0)
  val head = ('a' to 'z')
  countChar(sc.nextLine())
  for (i <- 0 to result.size - 1) println(s"${head(i)} : ${result(i)}")


  def countChar(in: String): Unit = {
    in match {
      case _ if in.length == 0 => sc.close()
      case _ =>
        lazy val cAry = in.toLowerCase.toCharArray.filter(inAToZ(_))
        cAry.foreach(countUp(_))
        countChar(sc.nextLine())
    }

    def inAToZ(c: Char): Boolean = c >= 'a' && c <= 'z'
    def countUp(c: Char): Unit = result(c - 'a') += 1
  }
}