import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	static final int hashA = 97;
	static final int hashPeriod = 46;
	void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	}
	public static void main(String args[]) throws IOException{
		new Main().run();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	static final int hashA = 97;
	static final int hashPeriod = 46;
	void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	}
	public static void main(String args[]) throws IOException{
		new Main().run();
	}
} Main static final int hashA = 97; hashA 97 static final int hashPeriod = 46; hashPeriod 46 void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	} run {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split(""); alphabet "abcdefghijklmnopqrstuvwxyz".split("") "abcdefghijklmnopqrstuvwxyz".split "abcdefghijklmnopqrstuvwxyz" "" int[] cntAlpha = new int[alphabet.length]; cntAlpha new int[alphabet.length] alphabet.length alphabet alphabet.length String txt = br.readLine(); txt br.readLine() br.readLine br while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		} txt != null && ! "".equals(txt) txt != null txt null ! "".equals(txt) "".equals(txt) "".equals "" txt {
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		} for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			} int i = 0; int i = 0; i 0 i < txt.length() i txt.length() txt.length txt i++ i++ i {
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			} {
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			} txt = txt.toLowerCase() txt txt.toLowerCase() txt.toLowerCase txt char ch = txt.charAt(i); ch txt.charAt(i) txt.charAt txt i int hash = String.valueOf(ch).hashCode(); hash String.valueOf(ch).hashCode() String.valueOf(ch).hashCode String.valueOf(ch) String.valueOf String ch if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				} hash >= hashA && hash < hashA + alphabet.length hash >= hashA hash hashA hash < hashA + alphabet.length hash hashA + alphabet.length hashA alphabet.length alphabet alphabet.length {
					cntAlpha[hash - hashA]++;
				} cntAlpha[hash - hashA]++ cntAlpha[hash - hashA] cntAlpha hash - hashA hash hashA txt = br.readLine() txt br.readLine() br.readLine br for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		} int i = 0; int i = 0; i 0 i < alphabet.length i alphabet.length alphabet alphabet.length i++ i++ i {
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		} {
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		} System.out.println(alphabet[i] + " : " + cntAlpha[i]) System.out.println System.out System System.out alphabet[i] + " : " + cntAlpha[i] alphabet[i] + " : " + cntAlpha[i] alphabet[i] alphabet i " : " cntAlpha[i] cntAlpha i public static void main(String args[]) throws IOException{
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String args[] args public class Main {
	static final int hashA = 97;
	static final int hashPeriod = 46;
	void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	}
	public static void main(String args[]) throws IOException{
		new Main().run();
	}
} public class Main {
	static final int hashA = 97;
	static final int hashPeriod = 46;
	void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	}
	public static void main(String args[]) throws IOException{
		new Main().run();
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	static final int hashA = 97;
	static final int hashPeriod = 46;
	void run() throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String[] alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
		int[] cntAlpha = new int[alphabet.length];
		String txt = br.readLine();
		while( txt != null && ! "".equals(txt) ){
			for (int i = 0;i < txt.length();i++){
				txt = txt.toLowerCase();
				char ch = txt.charAt(i);
				int hash = String.valueOf(ch).hashCode();
				if(hash >= hashA && hash < hashA + alphabet.length){
					cntAlpha[hash - hashA]++;
				}
			}
			txt = br.readLine();
		}
		for(int i = 0;i < alphabet.length;i++){
			System.out.println(alphabet[i] + " : " + cntAlpha[i]);
		}
	}
	public static void main(String args[]) throws IOException{
		new Main().run();
	}
}