import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    } main {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] A = new int[26]; A new int[26] 26 Arrays.fill(A, 0) Arrays.fill Arrays A 0 String str; str while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        } sc.hasNext() sc.hasNext sc {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        } str = sc.nextLine() str sc.nextLine() sc.nextLine sc str = str.toLowerCase() str str.toLowerCase() str.toLowerCase str char[] c = str.toCharArray(); c str.toCharArray() str.toCharArray str for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            } int i=0; int i=0; i 0 i<c.length i c.length c c.length i++ i++ i {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            } {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            } if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                } (int)c[i] >= 97 && (int)c[i] <= 122 (int)c[i] >= 97 (int)c[i] c i 97 (int)c[i] <= 122 (int)c[i] c i 122 {
                    A[(int) c[i] - 97] += 1;
                } A[(int) c[i] - 97] += 1 A[(int) c[i] - 97] A (int) c[i] - 97 (int) c[i] c i 97 1 for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        } int j = 0; int j = 0; j 0 j < 26 j 26 j++ j++ j {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        } {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        } System.out.printf("%c : %d\n", (char)(j + 97), A[j]) System.out.printf System.out System System.out "%c : %d\n" (char)(j + 97) j 97 A[j] A j String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //StringBuilder bd = new StringBuilder();
        //ArrayList<Integer> A = new ArrayList<Integer>();
        int[] A = new int[26];
        Arrays.fill(A, 0);
        String str;

        while (sc.hasNext()) {
            str = sc.nextLine();

            str = str.toLowerCase();
            char[] c = str.toCharArray();

            for (int i=0; i<c.length; i++) {
                if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                    A[(int) c[i] - 97] += 1;
                }
            }



        }

        for (int j = 0; j < 26; j++) {
            System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
        }

/*
        while (true) {
            String str = sc.nextLine();


            str = str.toLowerCase();
            char[] c = str.toCharArray();

            if ((int)c[c.length-1] == 46) {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
                for (int j = 0; j < 26; j++) {
                    System.out.printf("%c : %d\n", (char)(j + 97), A[j]);
                }
                break;
            }
            else {
                for (int i=0; i<c.length; i++) {
                    if ((int)c[i] >= 97 && (int)c[i] <= 122) {
                        A[(int) c[i] - 97] += 1;
                    }
                }
            }
        }

 */
    }
}
