import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	} main {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String input = ""; input "" String Alpha = "abcdefghijklmnopqrstuvwxyz "; Alpha "abcdefghijklmnopqrstuvwxyz " int count_Empty = 0; count_Empty 0 int output[] = new int[26]; output new int[26] 26 int index = 0; index 0 String line = ""; line "" String each_mozi = ""; each_mozi "" int mozi_length = 0; mozi_length 0 do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext()); sc.hasNext() sc.hasNext sc {
			input = sc.nextLine();
			line += input.toLowerCase();
		} input = sc.nextLine() input sc.nextLine() sc.nextLine sc line += input.toLowerCase() line input.toLowerCase() input.toLowerCase input for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		} int j = 0; int j = 0; j 0 j < line.length() j line.length() line.length line j++ j++ j {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		} {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		} each_mozi = "" + line.charAt(j) each_mozi "" + line.charAt(j) "" line.charAt(j) line.charAt line j index = Alpha.indexOf(each_mozi) index Alpha.indexOf(each_mozi) Alpha.indexOf Alpha each_mozi if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			} index == 26 index 26 {
				count_Empty++;
			} count_Empty++ count_Empty if (index != -1) {
				output[index]++;
			} index != -1 index -1 1 {
				output[index]++;
			} output[index]++ output[index] output index mozi_length += line.length() - count_Empty mozi_length line.length() - count_Empty line.length() line.length line count_Empty if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		} mozi_length < 1200 && mozi_length != 0 mozi_length < 1200 mozi_length 1200 mozi_length != 0 mozi_length 0 {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		} for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			} int k = 0; int k = 0; k 0 k < output.length k output.length output output.length k++ k++ k {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			} {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			} System.out.println("" + Alpha.charAt(k) + " : " + output[k]) System.out.println System.out System System.out "" + Alpha.charAt(k) + " : " + output[k] " : " "" + Alpha.charAt(k) + " : " + output[k] "" Alpha.charAt(k) Alpha.charAt Alpha k " : " output[k] output k String[] args args public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	}

} public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		// int MAX = 1000;
		Scanner sc = new Scanner(System.in);
		String input = "";
		String Alpha = "abcdefghijklmnopqrstuvwxyz ";
		int count_Empty = 0;
		int output[] = new int[26];
		int index = 0;
		String line = "";
		String each_mozi = "";
		int mozi_length = 0;

		do {
			input = sc.nextLine();
			line += input.toLowerCase();
		} while (sc.hasNext());

		for (int j = 0; j < line.length(); j++) {
			each_mozi = "" + line.charAt(j);
			index = Alpha.indexOf(each_mozi);
			if (index == 26) {
				count_Empty++;
			} else if (index != -1) {
				output[index]++;
			}

		}
		mozi_length += line.length() - count_Empty;

		if (mozi_length < 1200 && mozi_length != 0) {

			for (int k = 0; k < output.length; k++) {
				System.out.println("" + Alpha.charAt(k) + " : " + output[k]);

			}
		}

	}

}

