import java.util.Scanner

fun main(args:Array<String>){

    val cin = Scanner(System.`in`)
    var result = Array<Int>(26,{0})

    while(cin.hasNext()){
        var str = cin.nextLine()
	    str = str.toLowerCase()

	    for(i in 0..str.length-1){
	        if(str[i] >= 'a' && str[i] <= 'z'){
	            val x = str[i].toInt() - 'a'.toInt() 
	            result[x] = result[x] + 1
	        }
	    }
    }

    for(i in 'a'..'z'){	
	println("$i : ${result[i.toInt() - 'a'.toInt()]}")
    } 
	
}
