import java.util.*;
import java.io.*;
 
class Main{
    public static void main(String args[])throws IOException{
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String s;
       int[] num = new int[26];
       char c;
       while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       }
       for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       }
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String s;
       int[] num = new int[26];
       char c;
       while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       }
       for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       }
    }
} Main public static void main(String args[])throws IOException{
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String s;
       int[] num = new int[26];
       char c;
       while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       }
       for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       }
    } main {
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String s;
       int[] num = new int[26];
       char c;
       while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       }
       for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s; s int[] num = new int[26]; num new int[26] 26 char c; c while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       } (s = br.readLine())!=null (s = br.readLine()) s br.readLine() br.readLine br null {
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       } if(s.length()>=1200)break; s.length()>=1200 s.length() s.length s 1200 break; for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           } int j=0; int j=0; j 0 j<s.length() j s.length() s.length s j++ j++ j {
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           } {
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           } c = s.charAt(j) c s.charAt(j) s.charAt s j if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               } c>=0x41 && c<=0x5a c>=0x41 c 0x41 c<=0x5a c 0x5a {
                   c -= 0x41;
                   num[c] += 1;
               } c -= 0x41 c 0x41 num[c] += 1 num[c] num c 1 if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               } c>=0x61 && c<=0x7a c>=0x61 c 0x61 c<=0x7a c 0x7a {
                   c -= 0x61;
                   num[c] += 1;
               } c -= 0x61 c 0x61 num[c] += 1 num[c] num c 1 for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       } int i=0; int i=0; i 0 i<26 i 26 i++ i++ i {
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       } {
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       } c = (char)(0x61 + i) c (char)(0x61 + i) 0x61 i System.out.println(c+" : "+num[i]) System.out.println System.out System System.out c+" : "+num[i] c+" : "+num[i] c " : " num[i] num i String args[] args
import java.util.*;
import java.io.*;
 
class Main{
    public static void main(String args[])throws IOException{
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String s;
       int[] num = new int[26];
       char c;
       while((s = br.readLine())!=null){
           if(s.length()>=1200)break;
           for(int j=0; j<s.length(); j++){
               c = s.charAt(j);
               if(c>=0x41 && c<=0x5a){
                   c -= 0x41;
                   num[c] += 1;
               }else if(c>=0x61 && c<=0x7a){
                   c -= 0x61;
                   num[c] += 1;
               }
           }
       }
       for(int i=0; i<26; i++){
           c = (char)(0x61 + i);
           System.out.println(c+" : "+num[i]);    
       }
    }
}