import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

class Main {

	public static void main(String[] args) throws IOException {

		Character[] ch = { '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[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util class Main {

	public static void main(String[] args) throws IOException {

		Character[] ch = { '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[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	}
} Main public static void main(String[] args) throws IOException {

		Character[] ch = { '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[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	} main {

		Character[] ch = { '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[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	} Character[] ch = { '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' }; ch { '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[] sum = new int[ch.length]; sum new int[ch.length] ch.length ch ch.length BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		} (str = br.readLine()) !=null (str = br.readLine()) str br.readLine() br.readLine br null {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		} String[] str2 = str.split(" "); str2 str.split(" ") str.split str " " StringBuilder builder = new StringBuilder(); builder new StringBuilder() List<Character> liststr = new ArrayList<>(); liststr new ArrayList<>() for (String s : str2) {

			builder.append(s.toLowerCase());
		} String s str2 {

			builder.append(s.toLowerCase());
		} {

			builder.append(s.toLowerCase());
		} builder.append(s.toLowerCase()) builder.append builder s.toLowerCase() s.toLowerCase s for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		} int i = 0; int i = 0; i 0 i < builder.length() i builder.length() builder.length builder i++ i++ i {

			liststr.add(builder.charAt(i));
		} {

			liststr.add(builder.charAt(i));
		} liststr.add(builder.charAt(i)) liststr.add liststr builder.charAt(i) builder.charAt builder i Collections.sort(liststr) Collections.sort Collections liststr for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		} int i =0; int i =0; i 0 i<ch.length i ch.length ch ch.length i++ i++ i {
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		} {
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		} for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			} int j=0; int j=0; j 0 j<liststr.size() j liststr.size() liststr.size liststr j++ j++ j {
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			} {
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			} if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				} ch[i].equals(liststr.get(j)) ch[i].equals ch[i] ch i liststr.get(j) liststr.get liststr j {
					sum[i] +=1;
				} sum[i] +=1 sum[i] sum i 1 for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		} int i =0; int i =0; i 0 i<ch.length i ch.length ch ch.length i++ i++ i {
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		} {
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		} System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n") System.out.print System.out System System.out ch[i]+" "+":"+" "+sum[i]+"\n" sum[i] " " ":" ch[i]+" "+":"+" "+sum[i]+"\n" ch[i] ch i " " ":" " " sum[i] sum i "\n" String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

class Main {

	public static void main(String[] args) throws IOException {

		Character[] ch = { '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[] sum = new int[ch.length];

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str;

		while ((str = br.readLine()) !=null) {




		String[] str2 = str.split(" ");

		StringBuilder builder = new StringBuilder();

		List<Character> liststr = new ArrayList<>();

		for (String s : str2) {

			builder.append(s.toLowerCase());
		}
		for (int i = 0; i < builder.length(); i++) {

			liststr.add(builder.charAt(i));
		}

		Collections.sort(liststr);


		for(int i =0; i<ch.length; i++){
			for(int j=0; j<liststr.size(); j++){
				if(ch[i].equals(liststr.get(j))){
					sum[i] +=1;
				}

			}
		}
		}

		for(int i =0; i<ch.length; i++){
			System.out.print(ch[i]+" "+":"+" "+sum[i]+"\n");
		}


	}
}