/**
  * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_C&lang=jp
  * Character - Counting Characters
  */
object Main {
  def main(args: Array[String]): Unit = {
    val lines = io.StdIn.readLine().lines.mkString.toLowerCase
    val occurrences = ('a' to 'z').map(c => (c, lines.count(_ == c)))
    occurrences.foreach(occ => println(s"${occ._1} : ${occ._2}"))
  }
}