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

/**
 * @author kawakami
 *
 */
class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	}

} import java.util.*; util.* java import java.io.*; io.* java class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	}

} Main /**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	} main {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	} Scanner as = new Scanner(System.in); as new Scanner(System.in) String dam; dam String str = ""; str "" int alf[]; alf char line; line char hika; hika alf = new int[26] alf new int[26] 26 while(as.hasNext()){
			
			str = str + as.nextLine();
			
		} as.hasNext() as.hasNext as {
			
			str = str + as.nextLine();
			
		} str = str + as.nextLine() str str + as.nextLine() str as.nextLine() as.nextLine as dam = str dam str dam = dam.toUpperCase() dam dam.toUpperCase() dam.toUpperCase dam for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        } int i=0; int i=0; i 0 i<str.length() i str.length() str.length str i++ i++ i {      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        } {      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        } line = str.charAt(i) line str.charAt(i) str.charAt str i hika = dam.charAt(i) hika dam.charAt(i) dam.charAt dam i if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            } line - 'A' >= 0 line - 'A' line 'A' 0 {
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            } if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	} line == hika line hika {
            		
            		alf[line-'A'] += 1;
            		
            	} alf[line-'A'] += 1 alf[line-'A'] alf line-'A' line 'A' 1 {
            	
            		alf[line-'a'] += 1;
            		
            	} alf[line-'a'] += 1 alf[line-'a'] alf line-'a' line 'a' 1 line = 'a' line 'a' for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		} int i=0; int i=0; i 0 i<26 i 26 i++ i++ i {
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		} {
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		} str = (line++) + " : " + alf[i] str (line++) + " : " + alf[i] (line++) + " : " + alf[i] (line++) line " : " alf[i] alf i System.out.println(str) System.out.println System.out System System.out str String[] args args
import java.util.*;
import java.io.*;

/**
 * @author kawakami
 *
 */
class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line - 'A' >= 0){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	}

}