import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

class Main {

	public static void main(String[] args) throws IOException {

		Character[] ch = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's',
				't', 'u', 'v', 'w', 'x', 'y', 'z' };
		int[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz