import java.util.*;
public class Main{
    static Scanner kbd = new Scanner(System.in);
    public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    }
} import java.util.*; util.* java public class Main{
    static Scanner kbd = new Scanner(System.in);
    public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    }
} Main static Scanner kbd = new Scanner(System.in); kbd new Scanner(System.in) public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    } main {
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    } String c; c String[] alps = {"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"}; alps {"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" String[] alpb = {"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"}; alpb {"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[] cnt = new int[26]; cnt new int[26] 26 while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    } kbd.hasNext() kbd.hasNext kbd {
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    } String s = kbd.nextLine(); s kbd.nextLine() kbd.nextLine kbd int i; i for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        } i=0; i=0 i 0 i<s.length() i s.length() s.length s i++ i++ i {
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        } {
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        } c = s.substring(i, i+1) c s.substring(i, i+1) s.substring s i i+1 i 1 int j=0; j 0 while(j<26 && !alps[j].equals(c)) j++; j<26 && !alps[j].equals(c) j<26 j 26 !alps[j].equals(c) alps[j].equals(c) alps[j].equals alps[j] alps j c j++ j if(j<26) cnt[j]++; j<26 j 26 cnt[j]++ cnt[j] cnt j j=0 j 0 while(j<26 && !c.equals(alpb[j])) j++; j<26 && !c.equals(alpb[j]) j<26 j 26 !c.equals(alpb[j]) c.equals(alpb[j]) c.equals c alpb[j] alpb j j++ j if(j<26) cnt[j]++; j<26 j 26 cnt[j]++ cnt[j] cnt j for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    } int i=0; int i=0; i 0 i<cnt.length i cnt.length cnt cnt.length i++ i++ i {
        System.out.println(alps[i]+" : "+cnt[i]);
    } {
        System.out.println(alps[i]+" : "+cnt[i]);
    } System.out.println(alps[i]+" : "+cnt[i]) System.out.println System.out System System.out alps[i]+" : "+cnt[i] alps[i]+" : "+cnt[i] alps[i] alps i " : " cnt[i] cnt i String[] args args public class Main{
    static Scanner kbd = new Scanner(System.in);
    public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    }
} public class Main{
    static Scanner kbd = new Scanner(System.in);
    public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    }
} Main
import java.util.*;
public class Main{
    static Scanner kbd = new Scanner(System.in);
    public  static void main(String[] args){
    String c;
    String[] alps = {"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"};
    String[] alpb = {"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[] cnt = new int[26];
    while(kbd.hasNext()){
        String s = kbd.nextLine();
        int i;
        for(i=0; i<s.length(); i++){
        c = s.substring(i, i+1);
        int j=0;
        while(j<26 && !alps[j].equals(c)) j++;
        if(j<26) cnt[j]++; 
        j=0;
        while(j<26 && !c.equals(alpb[j])) j++;
        if(j<26) cnt[j]++;
        }
    }
    for(int i=0; i<cnt.length; i++){
        System.out.println(alps[i]+" : "+cnt[i]);
    }
    }
}