import java.util.Scanner;
import java.io.*;

public class Main {
	public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	}
} import java.util.Scanner; Scanner java.util import java.io.*; io.* java public class Main {
	public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	}
} Main public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	} main {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) char smallL[] = {'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'}; smallL {'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'} '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 A[] = new int[smallL.length]; A new int[smallL.length] smallL.length smallL smallL.length String str; str char[] charArray; charArray while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		} (str = br.readLine()) != null (str = br.readLine()) str br.readLine() br.readLine br null {
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		} str = str.toLowerCase() str str.toLowerCase() str.toLowerCase str charArray = str.toCharArray() charArray str.toCharArray() str.toCharArray str for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			} int i = 0 ; int i = 0 ; i 0 i < charArray.length i charArray.length charArray charArray.length i++ i++ i {
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			} {
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			} for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				} int j = 0 ; int j = 0 ; j 0 j < smallL.length j smallL.length smallL smallL.length j++ j++ j {
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				} {
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				} if(charArray[i] == smallL[j]){
						++A[j];
						break;
					} charArray[i] == smallL[j] charArray[i] charArray i smallL[j] smallL j {
						++A[j];
						break;
					} ++A[j] A[j] A j break; for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		} int i = 0 ; int i = 0 ; i 0 i < smallL.length i smallL.length smallL smallL.length i++ i++ i {
			System.out.println(smallL[i] + " : " + A[i]);
		} {
			System.out.println(smallL[i] + " : " + A[i]);
		} System.out.println(smallL[i] + " : " + A[i]) System.out.println System.out System System.out smallL[i] + " : " + A[i] smallL[i] + " : " + A[i] smallL[i] smallL i " : " A[i] A i String[] args args public class Main {
	public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	}
} public class Main {
	public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	}
} Main
import java.util.Scanner;
import java.io.*;

public class Main {
	public static void main(String[] args)throws IOException {
		Scanner scan = new Scanner(System.in);
		InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);
		char smallL[] = {'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 A[] = new int[smallL.length];
		String str;
		char[] charArray;

		while((str = br.readLine()) != null){
			str = str.toLowerCase();
			charArray = str.toCharArray();
			for(int i = 0 ; i < charArray.length ; i++){
				for(int j = 0 ; j < smallL.length ; j++){
					if(charArray[i] == smallL[j]){
						++A[j];
						break;
					}
				}
			}
		}

		for(int i = 0 ; i < smallL.length ; i++){
			System.out.println(smallL[i] + " : " + A[i]);
		}

	}
}