import java.util.*;
import java.io.*;

class Main {
  public static void main(String args[]) {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String in = "";
    HashMap<String, Integer> map = new HashMap<String, Integer>();
    try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    int ans = 0;
    for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    }
  }
} import java.util.*; util.* java import java.io.*; io.* java class Main {
  public static void main(String args[]) {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String in = "";
    HashMap<String, Integer> map = new HashMap<String, Integer>();
    try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    int ans = 0;
    for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    }
  }
} Main public static void main(String args[]) {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String in = "";
    HashMap<String, Integer> map = new HashMap<String, Integer>();
    try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    int ans = 0;
    for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    }
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String in = "";
    HashMap<String, Integer> map = new HashMap<String, Integer>();
    try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    int ans = 0;
    for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    }
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String in = ""; in "" HashMap<String, Integer> map = new HashMap<String, Integer>(); map new HashMap<String, Integer>() try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    } catch (IOException e) {
      e.printStackTrace();
    } IOException e {
      e.printStackTrace();
    } e.printStackTrace() e.printStackTrace e {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      } (in = br.readLine()) != null (in = br.readLine()) in br.readLine() br.readLine br null {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      } if (in.equals("")) break; in.equals("") in.equals in "" break; for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        } String s in.split("(?<=.)") in.split in "(?<=.)" {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        } {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        } s = s.toLowerCase() s s.toLowerCase() s.toLowerCase s int count = map.containsKey(s) ? map.get(s) : 0; count map.containsKey(s) ? map.get(s) : 0 map.containsKey(s) map.containsKey map s map.get(s) map.get map s 0 map.put(s, count + 1) map.put map s count + 1 count 1 int ans = 0; ans 0 for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    } String s "abcdefghijklmnopqrstuvwxyz".split("(?<=.)") "abcdefghijklmnopqrstuvwxyz".split "abcdefghijklmnopqrstuvwxyz" "(?<=.)" {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    } {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    } if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      } !map.containsKey(s) map.containsKey(s) map.containsKey map s {
        ans = 0;
      } ans = 0 ans 0 {
        ans = map.get(s);
      } ans = map.get(s) ans map.get(s) map.get map s System.out.println(s + " : " + ans) System.out.println System.out System System.out s + " : " + ans s + " : " + ans s " : " ans String args[] args
import java.util.*;
import java.io.*;

class Main {
  public static void main(String args[]) {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String in = "";
    HashMap<String, Integer> map = new HashMap<String, Integer>();
    try {
      while ((in = br.readLine()) != null) {
        if (in.equals("")) break;
        for(String s : in.split("(?<=.)")) {
          s = s.toLowerCase();
          int count = map.containsKey(s) ? map.get(s) : 0;
          map.put(s, count + 1);
        }
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    int ans = 0;
    for(String s : "abcdefghijklmnopqrstuvwxyz".split("(?<=.)")) {
      if (!map.containsKey(s)) {
        ans = 0;
      } else {
        ans = map.get(s);
      }
      System.out.println(s + " : " + ans);
    }
  }
}