import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  }
}
 import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  } main {
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char c; c char[] ap = new char[] {'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'}; ap new char[] {'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[] count = new int[26]; count new int[26] 26 while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    } sc.hasNextLine() sc.hasNextLine sc {
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    } String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      } int i= 0; int i= 0; i 0 i < s.length() i s.length() s.length s i++ i++ i {
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      } {
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      } c = s.charAt(i) c s.charAt(i) s.charAt s i if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        } c >= 'A' && c <= 'Z' c >= 'A' c 'A' c <= 'Z' c 'Z' {
          count[c-'A']++;
        } count[c-'A']++ count[c-'A'] count c-'A' c 'A' if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        } c >= 'a' && c <= 'z' c >= 'a' c 'a' c <= 'z' c 'z' {
          count[c-'a']++;
        } count[c-'a']++ count[c-'a'] count c-'a' c 'a' for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    } int i = 0; int i = 0; i 0 i < 26 i 26 i++ i++ i {
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    } {
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    } ap[i] += 'a' - 'A' ap[i] ap i 'a' - 'A' 'a' 'A' System.out.println(ap[i] + " : " + count[i]) System.out.println System.out System System.out ap[i] + " : " + count[i] ap[i] + " : " + count[i] ap[i] ap i " : " count[i] count i sc.close() sc.close sc String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char c;
    char[] ap = new char[] {'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[] count = new int[26];
    while(sc.hasNextLine()){
      String s = sc.nextLine();
      for(int i= 0;i < s.length();i++){
        c = s.charAt(i);
        if(c >= 'A' && c <= 'Z'){
          count[c-'A']++;
        }else if(c >= 'a' && c <= 'z'){
          count[c-'a']++;
        }
      }
    }
    for(int i = 0;i < 26;i++){
      ap[i] += 'a' - 'A';
      System.out.println(ap[i] + " : " + count[i]);
    }
    sc.close();
  }
}

