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

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	}
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	}
} Main public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	} main {
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	} String[] sabc = {"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"}; sabc {"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[] nabc = new int[sabc.length]; nabc new int[sabc.length] sabc.length sabc sabc.length for(int i=0; i<nabc.length; i++)nabc[i]=0; int i=0; int i=0; i 0 i<nabc.length i nabc.length nabc nabc.length i++ i++ i nabc[i]=0; nabc[i]=0 nabc[i] nabc i 0 InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String str=br.readLine(); str br.readLine() br.readLine br while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		} str !=null str null {		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		} String[] strArray = str.split(""); strArray str.split("") str.split str "" for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			} {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			} strArray[i] = strArray[i].toLowerCase() strArray[i] strArray i strArray[i].toLowerCase() strArray[i].toLowerCase strArray[i] strArray i for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				} int j = 0; int j = 0; j 0 j < sabc.length j sabc.length sabc sabc.length j++ j++ j {
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				} {
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				} if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					} strArray[i].equals(sabc[j]) strArray[i].equals strArray[i] strArray i sabc[j] sabc j {
						nabc[j]++;
					} nabc[j]++ nabc[j] nabc j str = br.readLine() str br.readLine() br.readLine br for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		} int j=0; int j=0; j 0 j<sabc.length j sabc.length sabc sabc.length j++ j++ j {
			System.out.println(sabc[j] + " : " + nabc[j]);
		} {
			System.out.println(sabc[j] + " : " + nabc[j]);
		} System.out.println(sabc[j] + " : " + nabc[j]) System.out.println System.out System System.out sabc[j] + " : " + nabc[j] sabc[j] + " : " + nabc[j] sabc[j] sabc j " : " nabc[j] nabc j String[] args args public class Main {

	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	}
} public class Main {

	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	}
} Main
import java.io.*;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO Auto-generated method stub
		String[] sabc = {"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[] nabc = new int[sabc.length];
		for(int i=0; i<nabc.length; i++)nabc[i]=0;

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		
		String str=br.readLine();
		while(str !=null){		
		
			String[] strArray = str.split("");
			for (int i = 0; i < strArray.length; i++) {
				strArray[i] = strArray[i].toLowerCase();
				for(int j = 0; j < sabc.length; j++){
					if(strArray[i].equals(sabc[j])){
						nabc[j]++;
					}
				}
			}
		str = br.readLine();
		}
		for(int j=0; j<sabc.length; j++){
			System.out.println(sabc[j] + " : " + nabc[j]);
		}
	}
}