import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	}

}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	}

} Main public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	} main {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	} String[] Lary= {"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"}; Lary {"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[] Sary= {"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"}; Sary {"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[] ansBox=new int[26]; ansBox new int[26] 26 for(int i=0;i<26;i++) {
            ansBox[i]=0;
        } int i=0; int i=0; i 0 i<26 i 26 i++ i++ i {
            ansBox[i]=0;
        } {
            ansBox[i]=0;
        } ansBox[i]=0 ansBox[i] ansBox i 0 Scanner sc=new Scanner(System.in); sc new Scanner(System.in) String str; str while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        } sc.hasNext() sc.hasNext sc {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        } str=sc.nextLine() str sc.nextLine() sc.nextLine sc int n=str.length(); n str.length() str.length str for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            } {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            } char a; a a=str.charAt(i) a str.charAt(i) str.charAt str i for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                } int j=0; int j=0; j 0 j<26 j 26 j++ j++ j {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                } {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                } if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    } Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a)) Lary[j].equals(String.valueOf(a)) Lary[j].equals Lary[j] Lary j String.valueOf(a) String.valueOf String a Sary[j].equals(String.valueOf(a)) Sary[j].equals Sary[j] Sary j String.valueOf(a) String.valueOf String a {
                        ansBox[j]++;
                    } ansBox[j]++ ansBox[j] ansBox j for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        } int i=0; int i=0; i 0 i<26 i 26 i++ i++ i {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        } {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        } System.out.println(Sary[i]+" : "+ansBox[i]) System.out.println System.out System System.out Sary[i]+" : "+ansBox[i] Sary[i]+" : "+ansBox[i] Sary[i] Sary i " : " ansBox[i] ansBox i String[] args args public class Main {

	public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	}

} public class Main {

	public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		String[] Lary= {"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[] Sary= {"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[] ansBox=new int[26];

        //ansBox初期化
        for(int i=0;i<26;i++) {
            ansBox[i]=0;
        }

        //文字列を入力
        //BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc=new Scanner(System.in);
        String str;
        //while(true){
        while(sc.hasNext()) {
            str=sc.nextLine();
            //if(str.equals("")){break;}
            //文字数をカウント
            int n=str.length();
            //n回廻す
            for(int i=0;i<n;i++) {
                //strからi個目の文字を切り出す
                char a;
                a=str.charAt(i);

                //それぞれをif文にかけ、アルファベットを判断
                for(int j=0;j<26;j++) {
                    if(Lary[j].equals(String.valueOf(a)) || Sary[j].equals(String.valueOf(a))) {
                        ansBox[j]++;
                    }
                }
            }
        }
        for(int i=0;i<26;i++) {
            System.out.println(Sary[i]+" : "+ansBox[i]);
        }
	}

}

