import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

public class Main {
	public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	}
} import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io public class Main {
	public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	}
} Main public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	} main {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	} char[][] alphabet = new char[2][26]; alphabet new char[2][26] 2 26 for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		} int i = 0; int i = 0; i 0 i < 26 i 26 i++ i++ i {
			alphabet[0][i] = (char) (i + 97);
		} {
			alphabet[0][i] = (char) (i + 97);
		} alphabet[0][i] = (char) (i + 97) alphabet[0][i] alphabet[0] alphabet 0 i (char) (i + 97) i 97 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		} (str = br.readLine()) != null (str = br.readLine()) str br.readLine() br.readLine br null {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		} char[] input = str.toCharArray(); input str.toCharArray() str.toCharArray str for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			} int i = 0; int i = 0; i 0 i < input.length i input.length input input.length i++ i++ i {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			} {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			} int j = (int) input[i]; j (int) input[i] input i if (64 < j && j < 91) j += 32; 64 < j && j < 91 64 < j 64 j j < 91 j 91 j += 32 j 32 j -= 97 j 97 if (j < 0 || 27 < j) continue; j < 0 || 27 < j j < 0 j 0 27 < j 27 j continue; alphabet[1][j]++ alphabet[1][j] alphabet[1] alphabet 1 j for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		} int i = 0; int i = 0; i 0 i < 26 i 26 i++ i++ i {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		} {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		} System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]) System.out.println System.out System System.out String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i] String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i] String.valueOf(alphabet[0][i]) String.valueOf String alphabet[0][i] alphabet[0] alphabet 0 i " : " (int) alphabet[1][i] alphabet[1] alphabet 1 i String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	}
} Main
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

public class Main {
	public static void main(String[] args) throws IOException {
		char[][] alphabet = new char[2][26];
		for (int i = 0; i < 26; i++) {
			alphabet[0][i] = (char) (i + 97);
		}
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while ((str = br.readLine()) != null) {
			char[] input = str.toCharArray();
			for (int i = 0; i < input.length; i++) {
				int j = (int) input[i];
				if (64 < j && j < 91) j += 32;
				j -= 97;
				if (j < 0 || 27 < j) continue;
				alphabet[1][j]++;
			}
		}
		for (int i = 0; i < 26; i++) {
			System.out.println(String.valueOf(alphabet[0][i]) + " : " + (int) alphabet[1][i]);
		}
	}
}