import java.util.Scanner;

//20180510
//04

public class Main {
    public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    }
} Main public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    } main {
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] list = {"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"}; list {"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[] count = new int[list.length]; count new int[list.length] list.length list list.length while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		} scanner.hasNextLine() scanner.hasNextLine scanner {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		} String str = scanner.nextLine(); str scanner.nextLine() scanner.nextLine scanner char[] cha = str.toCharArray(); cha str.toCharArray() str.toCharArray str for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			} int i = 0; int i = 0; i 0 i < cha.length i cha.length cha cha.length i++ i++ i {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			} {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			} for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				} int j = 0; int j = 0; j 0 j < list.length j list.length list list.length j++ j++ j {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				} {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				} String up = String.valueOf(Character.toUpperCase(cha[i])); up String.valueOf(Character.toUpperCase(cha[i])) String.valueOf String Character.toUpperCase(cha[i]) Character.toUpperCase Character cha[i] cha i String lo = String.valueOf(Character.toLowerCase(cha[i])); lo String.valueOf(Character.toLowerCase(cha[i])) String.valueOf String Character.toLowerCase(cha[i]) Character.toLowerCase Character cha[i] cha i if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					} list[j].equals(up) || list[j].equals(lo) list[j].equals(up) list[j].equals list[j] list j up list[j].equals(lo) list[j].equals list[j] list j lo {
						count[j]++;
					} count[j]++ count[j] count j for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		} int j = 0; int j = 0; j 0 j < list.length j list.length list list.length j++ j++ j {
			System.out.printf("%s : %d\n",list[j],count[j]);
		} {
			System.out.printf("%s : %d\n",list[j],count[j]);
		} System.out.printf("%s : %d\n",list[j],count[j]) System.out.printf System.out System System.out "%s : %d\n" list[j] list j count[j] count j scanner.close() scanner.close scanner String[] args args public class Main {
    public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    }
} public class Main {
    public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    }
} Main
import java.util.Scanner;

//20180510
//04

public class Main {
    public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String[] list = {"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[] count = new int[list.length];

		while (scanner.hasNextLine()) {
			String str = scanner.nextLine();
			char[] cha = str.toCharArray();

			for(int i = 0;i < cha.length;i++) {
				for(int j = 0;j < list.length;j++) {
					String up = String.valueOf(Character.toUpperCase(cha[i]));
					String lo = String.valueOf(Character.toLowerCase(cha[i]));
					if(list[j].equals(up) || list[j].equals(lo)) {
						count[j]++;
					}
				}
			}
		}
		for(int j = 0;j < list.length;j++) {
			System.out.printf("%s : %d\n",list[j],count[j]);
		}
		scanner.close();
    }
}
