import std.stdio,std.string,std.conv,std.array;
void main(){
	int[26] arr;
	for(;;){
		auto rc = readln().chomp();
		if(!rc){	break;	}
		foreach( c ; rc ){
			if( 'a' <= c && c <= 'z' ){
				arr[c-'a']++;
			} else if ( 'A' <= c && c <= 'Z' ){
				arr[c-'A']++;
			}
		}
	}
	foreach( key,i ; arr ){
		writeln( to!char(key+'a')," : ",i );
	}
	
}