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 <- result.indices) println(s"${head(i)} : ${result(i)}")


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

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