import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.lang.StringBuilder; StringBuilder java.lang public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	}
} Main public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	} main {
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	} BufferedReader sc = new BufferedReader(new InputStreamReader(System.in)); sc new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() char[] c = {'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'}; c {'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[] count = new int[c.length]; count new int[c.length] c.length c c.length String st; st while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		} (st = sc.readLine())!=null (st = sc.readLine()) st sc.readLine() sc.readLine sc null {
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		} st = st.toLowerCase() st st.toLowerCase() st.toLowerCase st char[] ch = st.toCharArray(); ch st.toCharArray() st.toCharArray st for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			} int i = 0; int i = 0; i 0 i < c.length i c.length c c.length i++ i++ i {
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			} {
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			} for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				} int k = 0; int k = 0; k 0 k < ch.length k ch.length ch ch.length k++ k++ k {
					if(ch[k]==c[i]){
						count[i]++;
					}
				} {
					if(ch[k]==c[i]){
						count[i]++;
					}
				} if(ch[k]==c[i]){
						count[i]++;
					} ch[k]==c[i] ch[k] ch k c[i] c i {
						count[i]++;
					} count[i]++ count[i] count i for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		} int i = 0; int i = 0; i 0 i < c.length i c.length c c.length i++ i++ i {
			sb.append(c[i]+" : "+count[i]+"\n");
		} {
			sb.append(c[i]+" : "+count[i]+"\n");
		} sb.append(c[i]+" : "+count[i]+"\n") sb.append sb c[i]+" : "+count[i]+"\n" count[i] c[i]+" : "+count[i]+"\n" c[i] c i " : " count[i] count i "\n" System.out.print(sb) System.out.print System.out System System.out sb String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		char[] c = {'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[] count = new int[c.length];
		String st;
		while((st = sc.readLine())!=null){
			st = st.toLowerCase();
			char[] ch = st.toCharArray();
			for(int i = 0;i < c.length;i++){
				for(int k = 0;k < ch.length;k++){
					if(ch[k]==c[i]){
						count[i]++;
					}
				}
			}
		}
		for(int i = 0;i < c.length;i++){
			sb.append(c[i]+" : "+count[i]+"\n");
		}
		System.out.print(sb);
	}
}