object Main extends App {
	override def main(args : Array[String]){
		val sc = new java.util.Scanner(System.in)
		
		val list = Iterator.continually(1).takeWhile(_=>sc.hasNextLine).toList
//		val list = (1 to 10).map(_ => sc.nextLine()).toList

		var count = new Array[Int](26)
		list.foreach(_ => sc.nextLine().collect(ChMap.collectLowerCase)
		.foreach(ch => count(ChMap.toInt(ch)) = count(ChMap.toInt(ch)) + 1 ))
		
		for(ch <- ('a' to 'z')){
			println(ch + " : "+count(ChMap.toInt(ch)))
		}
	}
	
	object ChMap{
		def collectLowerCase: PartialFunction[Char,Char] = {
			case ch if 'a' <= ch && ch <= 'z' => ch
			case ch if 'A' <= ch && ch <= 'Z' => (ch - 'A' + 'a').asInstanceOf[Char]
		}
		
		def toInt(char : Char):Int = { 
			char match{ 
				case ch if 'a' <= ch && ch <= 'z' => ch - 'a'
				case ch if 'A' <= ch && ch <= 'Z' => ch - 'A'
				case _ => -1 
			}
		}
		
		def toChar(i : Int):Char = {
			(i + 'a').asInstanceOf[Char]
		}
	}
}