import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.HashMap; HashMap java.util import java.util.Map; Map java.util public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    }

} Main public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    } main {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    } try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        } {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String line; line Map<String,Integer> map=new HashMap<String,Integer>(); map new HashMap<String,Integer>() byte[] a=new byte[26]; a new byte[26] 26 String[] str=new String[26]; str new String[26] 26 String resultString; resultString for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	} int i=0; int i=0; i 0 i<a.length i a.length a a.length i++ i++ i {
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	} {
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	} a[i]=(byte) (i+97) a[i] a i (byte) (i+97) i 97 resultString = new String(a, "US-ASCII") resultString new String(a, "US-ASCII") map.put(resultString.substring(i, i+1),0) map.put map resultString.substring(i, i+1) resultString.substring resultString i i+1 i 1 0 str[i]=resultString.substring(i, i+1) str[i] str i resultString.substring(i, i+1) resultString.substring resultString i i+1 i 1 while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            } (line = br.readLine()) != null&&line.length()!=0 (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null line.length()!=0 line.length() line.length line 0 {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            } String s=line.toLowerCase(); s line.toLowerCase() line.toLowerCase line for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	} int i=0; int i=0; i 0 i<s.length() i s.length() s.length s i++ i++ i {
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	} {
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	} if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		} map.containsKey(s.substring(i, i+1)) map.containsKey map s.substring(i, i+1) s.substring s i i+1 i 1 {
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		} map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1))) map.put map s.substring(i, i+1) s.substring s i i+1 i 1 1+map.get(s.substring(i, i+1)) 1 map.get(s.substring(i, i+1)) map.get map s.substring(i, i+1) s.substring s i i+1 i 1 for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	} int i=0; int i=0; i 0 i<str.length i str.length str str.length i++ i++ i {
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	} {
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	} System.out.println(str[i]+" : "+map.get(str[i])) System.out.println System.out System System.out str[i]+" : "+map.get(str[i]) str[i]+" : "+map.get(str[i]) str[i] str i " : " map.get(str[i]) map.get map str[i] str i String[] args args public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    }

} public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    }

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            Map<String,Integer> map=new HashMap<String,Integer>();
            byte[] a=new byte[26];
        	String[] str=new String[26];
        	String resultString;
        	for(int i=0;i<a.length;i++){
        		a[i]=(byte) (i+97);
        		resultString = new String(a, "US-ASCII");
        		map.put(resultString.substring(i, i+1),0);
        		str[i]=resultString.substring(i, i+1);
        	}
            while ((line = br.readLine()) != null&&line.length()!=0) {
            	String s=line.toLowerCase();
            	for(int i=0;i<s.length();i++){
            		if(map.containsKey(s.substring(i, i+1))){
            			map.put(s.substring(i, i+1), 1+map.get(s.substring(i, i+1)));
            		}
            	}
            	
            }
            for(int i=0;i<str.length;i++){
        		System.out.println(str[i]+" : "+map.get(str[i]));
        	}
        }
    }

}