import java.util.Scanner;
import java.util.ArrayList;

public class Main {
	
	public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	}
}
 import java.util.Scanner; Scanner java.util import java.util.ArrayList; ArrayList java.util public class Main {
	
	public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	}
} Main public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	} main {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) final int ALPHABET = 26; ALPHABET 26 int count; count char c c lca = 97 lca 97 ucl = 65; ucl 65 String ch; ch ArrayList<String> data = new ArrayList<String>(); data new ArrayList<String>() while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} scan.hasNext() scan.hasNext scan {
			ch = scan.next();
			data.add(ch);
		} ch = scan.next() ch scan.next() scan.next scan data.add(ch) data.add data ch for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		} int i = 0; int i = 0; i 0 i < ALPHABET i ALPHABET i++ i++ i {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		} {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		} count = 0 count 0 for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			} int j = 0; int j = 0; j 0 j < data.size() j data.size() data.size data j ++ j ++ j {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			} {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			} for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				} int k = 0; int k = 0; k 0 k < data.get(j).length() k data.get(j).length() data.get(j).length data.get(j) data.get data j k++ k++ k {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				} {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				} c = data.get(j).charAt(k) c data.get(j).charAt(k) data.get(j).charAt data.get(j) data.get data j k if ( lca == c || ucl == c) {
						count++;
					} lca == c || ucl == c lca == c lca c ucl == c ucl c {
						count++;
					} count++ count System.out.println (lca + " : " + count) System.out.println System.out System System.out lca + " : " + count lca + " : " + count lca " : " count lca++ lca ucl++ ucl scan.close() scan.close scan String [] args args public class Main {
	
	public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	}
} public class Main {
	
	public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	}
} Main
import java.util.Scanner;
import java.util.ArrayList;

public class Main {
	
	public static void main(String [] args) {
		
		Scanner scan = new Scanner(System.in);
		final int ALPHABET = 26;
		int count;
		char c, lca = 97, ucl = 65;
		String ch;
		ArrayList<String> data = new ArrayList<String>();
		
		while (scan.hasNext()) {
			ch = scan.next();
			data.add(ch);
		} 
		
		
		for (int i = 0; i < ALPHABET; i++) {
			count = 0;
			for ( int j = 0; j < data.size(); j ++) {
				for (int k = 0; k < data.get(j).length(); k++) {
					c = data.get(j).charAt(k);
					if ( lca == c || ucl == c) {
						count++;
					}
				}				
			}
			
			System.out.println (lca + " : " + count);
			lca++;
			ucl++;
		}
		
		scan.close();
		
	}
}

