import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.HashMap; HashMap java.util public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	}
} Main public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	} main {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = ""; line "" HashMap<String, Integer> ans = new HashMap<String, Integer>(); ans new HashMap<String, Integer>() while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    } (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    } for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    } int i = 0; int i = 0; i 0 i < line.length() i line.length() line.length line i++ i++ i {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    } {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    } String str = Character.toString(line.charAt(i)).toLowerCase(); str Character.toString(line.charAt(i)).toLowerCase() Character.toString(line.charAt(i)).toLowerCase Character.toString(line.charAt(i)) Character.toString Character line.charAt(i) line.charAt line i if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	} ans.containsKey(str) ans.containsKey ans str {
		    		ans.put(str, ans.get(str) + 1);
		    	} ans.put(str, ans.get(str) + 1) ans.put ans str ans.get(str) + 1 ans.get(str) ans.get ans str 1 {
		    		ans.put(str, 1);
		    	} ans.put(str, 1) ans.put ans str 1 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    } char c = 'a'; char c = 'a'; c 'a' c <= 'z' c 'z' c++ c++ c {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    } {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    } sb.append(c).append(" : ") sb.append(c).append sb.append(c) sb.append sb c " : " String keyChar = Character.toString(c); keyChar Character.toString(c) Character.toString Character c if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	} ans.containsKey(keyChar) ans.containsKey ans keyChar {
	    		sb.append(ans.get(keyChar));
	    	} sb.append(ans.get(keyChar)) sb.append sb ans.get(keyChar) ans.get ans keyChar {
	    		sb.append("0");
	    	} sb.append("0") sb.append sb "0" sb.append("\n") sb.append sb "\n" System.out.print(sb.toString()) System.out.print System.out System System.out sb.toString() sb.toString sb String[] args args public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	}
} public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.HashMap;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    String line = "";
	    HashMap<String, Integer> ans = new HashMap<String, Integer>();
	    while ((line = br.readLine()) != null) {
		    for (int i = 0; i < line.length(); i++) {
		    	String str = Character.toString(line.charAt(i)).toLowerCase();

		    	if (ans.containsKey(str)) {
		    		ans.put(str, ans.get(str) + 1);
		    	} else {
		    		ans.put(str, 1);
		    	}
		    }
	    }

	    // Display Answer
	    StringBuilder sb = new StringBuilder();
	    for (char c = 'a'; c <= 'z'; c++) {
	    	sb.append(c).append(" : ");
	    	String keyChar = Character.toString(c);
	    	if (ans.containsKey(keyChar)) {
	    		sb.append(ans.get(keyChar));
	    	} else {
	    		sb.append("0");
	    	}

    		sb.append("\n");
 	    }
	    System.out.print(sb.toString());
	}
}