import java.util.Scanner;
public class CountString {
public static void main(String[] args) {
/*
Scanner sc = new Scanner(System.in);
System.out.println("please shuru: ");
String line = sc.nextLine();
char[] ch = line.toCharArray();
int countA = 0;
int counta = 0;
int count1 = 0;
int[] count = new int[61];
char[] zimu = new char[61];
for (int i = 0; i < ch.length; i++) {
for (int j = 0; j < ch.length; j++)
if (ch[i] == ch[j]) {
count[i] += 1;
zimu[i] = ch[i];
}
}*/
/* for(int i=0;i<ch.length;i++){
if(ch[i]>=97 && ch[i]<=122){
counta+=1;
}
else if(ch[i]>=65 && ch[i] <=90){
countA+=1;
}
else if(ch[i]>=48 && (int)ch[i]<=57){
count1+=1;
}
}*/
/* for(int i=0;i<ch.length;i++){
if(ch[i]>='a' && ch[i]<='z'){
counta+=1;
}
else if(ch[i]>='A' && ch[i] <='Z'){
countA+=1;
}
else if(ch[i]>='0' && (int)ch[i]<='9'){
count1+=1;
}
}*/
/*for (int i = 0; i < ch.length; i++) {
if (ch[i]=='a'){
counta+=1;
}
else if(ch[i]=='A'){
countA+=1;
}
else if(ch[i]=='1'){
count1+=1;
}
}
System.out.println("A :" + countA);
System.out.println("a :" + counta);
System.out.println("1 :" + count1);*/
countTimes("Firefox can’t establish a connection to the server at localhost:9870.");
}
public static void countTimes(String src) {
int[] count = new int[52];
for (char c : src.toCharArray()) {
int index = c - 'A';
if (index > 25) {
index = index - 6;
}
if (index < 0 || index > 51) {
continue;
}
count[index] += 1;
}
for (int i = 0; i < count.length; i++) {
if (count[i] == 0) {
continue;
}
if (i > 25) {
System.out.println(((char) ('a' + i - 26) + "-->" + count[i]));
} else {
System.out.println(((char) ('A' + i)) + "-->" + count[i]);
}
}
}
}