import java.util.Scanner;
import java.awt.event.KeyEvent;

class Main {
  public static void main(String args[]) {
	  	Scanner scanner = new Scanner(System.in);
	  	String box[] = new String[1200];
	  	int con[] =  new int[30];
		int num = 0;
		
		while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		}
		//出力
		System.out.println("a : " + con[0]);
		System.out.println("b : " + con[1]);
		System.out.println("c : " + con[2]);
		System.out.println("d : " + con[3]);
		System.out.println("e : " + con[4]);
		System.out.println("f : " + con[5]);
		System.out.println("g : " + con[6]);
		System.out.println("h : " + con[7]);
		System.out.println("i : " + con[8]);
		System.out.println("j : " + con[9]);
		System.out.println("k : " + con[10]);
		System.out.println("l : " + con[11]);
		System.out.println("m : " + con[12]);
		System.out.println("n : " + con[13]);
		System.out.println("o : " + con[14]);
		System.out.println("p : " + con[15]);
		System.out.println("q : " + con[16]);
		System.out.println("r : " + con[17]);
		System.out.println("s : " + con[18]);
		System.out.println("t : " + con[19]);
		System.out.println("u : " + con[20]);
		System.out.println("v : " + con[21]);
		System.out.println("w : " + con[22]);
		System.out.println("x : " + con[23]);
		System.out.println("y : " + con[24]);
		System.out.println("z : " + con[25]);
		
		scanner.close();
  }
  
} import java.util.Scanner; Scanner java.util import java.awt.event.KeyEvent; KeyEvent java.awt.event class Main {
  public static void main(String args[]) {
	  	Scanner scanner = new Scanner(System.in);
	  	String box[] = new String[1200];
	  	int con[] =  new int[30];
		int num = 0;
		
		while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		}
		//出力
		System.out.println("a : " + con[0]);
		System.out.println("b : " + con[1]);
		System.out.println("c : " + con[2]);
		System.out.println("d : " + con[3]);
		System.out.println("e : " + con[4]);
		System.out.println("f : " + con[5]);
		System.out.println("g : " + con[6]);
		System.out.println("h : " + con[7]);
		System.out.println("i : " + con[8]);
		System.out.println("j : " + con[9]);
		System.out.println("k : " + con[10]);
		System.out.println("l : " + con[11]);
		System.out.println("m : " + con[12]);
		System.out.println("n : " + con[13]);
		System.out.println("o : " + con[14]);
		System.out.println("p : " + con[15]);
		System.out.println("q : " + con[16]);
		System.out.println("r : " + con[17]);
		System.out.println("s : " + con[18]);
		System.out.println("t : " + con[19]);
		System.out.println("u : " + con[20]);
		System.out.println("v : " + con[21]);
		System.out.println("w : " + con[22]);
		System.out.println("x : " + con[23]);
		System.out.println("y : " + con[24]);
		System.out.println("z : " + con[25]);
		
		scanner.close();
  }
  
} Main public static void main(String args[]) {
	  	Scanner scanner = new Scanner(System.in);
	  	String box[] = new String[1200];
	  	int con[] =  new int[30];
		int num = 0;
		
		while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		}
		//出力
		System.out.println("a : " + con[0]);
		System.out.println("b : " + con[1]);
		System.out.println("c : " + con[2]);
		System.out.println("d : " + con[3]);
		System.out.println("e : " + con[4]);
		System.out.println("f : " + con[5]);
		System.out.println("g : " + con[6]);
		System.out.println("h : " + con[7]);
		System.out.println("i : " + con[8]);
		System.out.println("j : " + con[9]);
		System.out.println("k : " + con[10]);
		System.out.println("l : " + con[11]);
		System.out.println("m : " + con[12]);
		System.out.println("n : " + con[13]);
		System.out.println("o : " + con[14]);
		System.out.println("p : " + con[15]);
		System.out.println("q : " + con[16]);
		System.out.println("r : " + con[17]);
		System.out.println("s : " + con[18]);
		System.out.println("t : " + con[19]);
		System.out.println("u : " + con[20]);
		System.out.println("v : " + con[21]);
		System.out.println("w : " + con[22]);
		System.out.println("x : " + con[23]);
		System.out.println("y : " + con[24]);
		System.out.println("z : " + con[25]);
		
		scanner.close();
  } main {
	  	Scanner scanner = new Scanner(System.in);
	  	String box[] = new String[1200];
	  	int con[] =  new int[30];
		int num = 0;
		
		while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		}
		//出力
		System.out.println("a : " + con[0]);
		System.out.println("b : " + con[1]);
		System.out.println("c : " + con[2]);
		System.out.println("d : " + con[3]);
		System.out.println("e : " + con[4]);
		System.out.println("f : " + con[5]);
		System.out.println("g : " + con[6]);
		System.out.println("h : " + con[7]);
		System.out.println("i : " + con[8]);
		System.out.println("j : " + con[9]);
		System.out.println("k : " + con[10]);
		System.out.println("l : " + con[11]);
		System.out.println("m : " + con[12]);
		System.out.println("n : " + con[13]);
		System.out.println("o : " + con[14]);
		System.out.println("p : " + con[15]);
		System.out.println("q : " + con[16]);
		System.out.println("r : " + con[17]);
		System.out.println("s : " + con[18]);
		System.out.println("t : " + con[19]);
		System.out.println("u : " + con[20]);
		System.out.println("v : " + con[21]);
		System.out.println("w : " + con[22]);
		System.out.println("x : " + con[23]);
		System.out.println("y : " + con[24]);
		System.out.println("z : " + con[25]);
		
		scanner.close();
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String box[] = new String[1200]; box new String[1200] 1200 int con[] =  new int[30]; con new int[30] 30 int num = 0; num 0 while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		} scanner.hasNext() scanner.hasNext scanner {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		} String str = scanner.nextLine(); str scanner.nextLine() scanner.nextLine scanner if(str == null)
					break; str == null str null break; num = str.length() num str.length() str.length str for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				} int i = 0; int i = 0; i 0 i < num i num i ++ i ++ i {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				} {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				} if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    } Character.isUpperCase( str.charAt( i ) ) Character.isUpperCase Character str.charAt( i ) str.charAt str i {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					} box[i] = str.substring(i,i + 1) box[i] box i str.substring(i,i + 1) str.substring str i i + 1 i 1 box[i] = box[i].toLowerCase() box[i] box i box[i].toLowerCase() box[i].toLowerCase box[i] box i {
				    	box[i] = str.substring(i,i + 1);
				    } box[i] = str.substring(i,i + 1) box[i] box i str.substring(i,i + 1) str.substring str i i + 1 i 1 switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    } box[i] box i case "a": "a" case "a": con[0] ++ con[0] con 0 break; case "b": "b" case "b": con[1] ++ con[1] con 1 break; case "c": "c" case "c": con[2] ++ con[2] con 2 break; case "d": "d" case "d": con[3] ++ con[3] con 3 break; case "e": "e" case "e": con[4] ++ con[4] con 4 break; case "f": "f" case "f": con[5] ++ con[5] con 5 break; case "g": "g" case "g": con[6] ++ con[6] con 6 break; case "h": "h" case "h": con[7] ++ con[7] con 7 break; case "i": "i" case "i": con[8] ++ con[8] con 8 break; case "j": "j" case "j": con[9] ++ con[9] con 9 break; case "k": "k" case "k": con[10] ++ con[10] con 10 break; case "l": "l" case "l": con[11] ++ con[11] con 11 break; case "m": "m" case "m": con[12] ++ con[12] con 12 break; case "n": "n" case "n": con[13] ++ con[13] con 13 break; case "o": "o" case "o": con[14] ++ con[14] con 14 break; case "p": "p" case "p": con[15] ++ con[15] con 15 break; case "q": "q" case "q": con[16] ++ con[16] con 16 break; case "r": "r" case "r": con[17] ++ con[17] con 17 break; case "s": "s" case "s": con[18] ++ con[18] con 18 break; case "t": "t" case "t": con[19] ++ con[19] con 19 break; case "u": "u" case "u": con[20] ++ con[20] con 20 break; case "v": "v" case "v": con[21] ++ con[21] con 21 break; case "w": "w" case "w": con[22] ++ con[22] con 22 break; case "x": "x" case "x": con[23] ++ con[23] con 23 break; case "y": "y" case "y": con[24] ++ con[24] con 24 break; case "z": "z" case "z": con[25] ++ con[25] con 25 break; default: default: break; System.out.println("a : " + con[0]) System.out.println System.out System System.out "a : " + con[0] "a : " con[0] con 0 System.out.println("b : " + con[1]) System.out.println System.out System System.out "b : " + con[1] "b : " con[1] con 1 System.out.println("c : " + con[2]) System.out.println System.out System System.out "c : " + con[2] "c : " con[2] con 2 System.out.println("d : " + con[3]) System.out.println System.out System System.out "d : " + con[3] "d : " con[3] con 3 System.out.println("e : " + con[4]) System.out.println System.out System System.out "e : " + con[4] "e : " con[4] con 4 System.out.println("f : " + con[5]) System.out.println System.out System System.out "f : " + con[5] "f : " con[5] con 5 System.out.println("g : " + con[6]) System.out.println System.out System System.out "g : " + con[6] "g : " con[6] con 6 System.out.println("h : " + con[7]) System.out.println System.out System System.out "h : " + con[7] "h : " con[7] con 7 System.out.println("i : " + con[8]) System.out.println System.out System System.out "i : " + con[8] "i : " con[8] con 8 System.out.println("j : " + con[9]) System.out.println System.out System System.out "j : " + con[9] "j : " con[9] con 9 System.out.println("k : " + con[10]) System.out.println System.out System System.out "k : " + con[10] "k : " con[10] con 10 System.out.println("l : " + con[11]) System.out.println System.out System System.out "l : " + con[11] "l : " con[11] con 11 System.out.println("m : " + con[12]) System.out.println System.out System System.out "m : " + con[12] "m : " con[12] con 12 System.out.println("n : " + con[13]) System.out.println System.out System System.out "n : " + con[13] "n : " con[13] con 13 System.out.println("o : " + con[14]) System.out.println System.out System System.out "o : " + con[14] "o : " con[14] con 14 System.out.println("p : " + con[15]) System.out.println System.out System System.out "p : " + con[15] "p : " con[15] con 15 System.out.println("q : " + con[16]) System.out.println System.out System System.out "q : " + con[16] "q : " con[16] con 16 System.out.println("r : " + con[17]) System.out.println System.out System System.out "r : " + con[17] "r : " con[17] con 17 System.out.println("s : " + con[18]) System.out.println System.out System System.out "s : " + con[18] "s : " con[18] con 18 System.out.println("t : " + con[19]) System.out.println System.out System System.out "t : " + con[19] "t : " con[19] con 19 System.out.println("u : " + con[20]) System.out.println System.out System System.out "u : " + con[20] "u : " con[20] con 20 System.out.println("v : " + con[21]) System.out.println System.out System System.out "v : " + con[21] "v : " con[21] con 21 System.out.println("w : " + con[22]) System.out.println System.out System System.out "w : " + con[22] "w : " con[22] con 22 System.out.println("x : " + con[23]) System.out.println System.out System System.out "x : " + con[23] "x : " con[23] con 23 System.out.println("y : " + con[24]) System.out.println System.out System System.out "y : " + con[24] "y : " con[24] con 24 System.out.println("z : " + con[25]) System.out.println System.out System System.out "z : " + con[25] "z : " con[25] con 25 scanner.close() scanner.close scanner String args[] args
import java.util.Scanner;
import java.awt.event.KeyEvent;

class Main {
  public static void main(String args[]) {
	  	Scanner scanner = new Scanner(System.in);
	  	String box[] = new String[1200];
	  	int con[] =  new int[30];
		int num = 0;
		
		while(scanner.hasNext()) {
			String str = scanner.nextLine();			//入力
				if(str == null)
					break;
				num = str.length();		//文字数取得
				
				//文字数計算
				for(int i = 0; i < num ;i ++) {
				    if( Character.isUpperCase( str.charAt( i ) ) ) {
			  			box[i] = str.substring(i,i + 1);
			  			box[i] = box[i].toLowerCase();
					}else{
				    	box[i] = str.substring(i,i + 1);
				    }
				    switch(box[i]){
				    case "a":
				    	con[0] ++;
				    	break;
				    case "b":
				    	con[1] ++;
				    	break;
				    case "c":
				    	con[2] ++;
				    	break;
				    case "d":
				    	con[3] ++;
				    	break;
				    case "e":
				    	con[4] ++;
				    	break;
				    case "f":
				    	con[5] ++;
				    	break;
				    case "g":
				    	con[6] ++;
				    	break;
				    case "h":
				    	con[7] ++;
				    	break;
				    case "i":
				    	con[8] ++;
				    	break;
				    case "j":
				    	con[9] ++;
				    	break;
				    case "k":
				    	con[10] ++;
				    	break;
				    case "l":
				    	con[11] ++;
				    	break;
				    case "m":
				    	con[12] ++;
				    	break;
				    case "n":
				    	con[13] ++;
				    	break;
				    case "o":
				    	con[14] ++;
				    	break;
				    case "p":
				    	con[15] ++;
				    	break;
				    case "q":
				    	con[16] ++;
				    	break;
				    case "r":
				    	con[17] ++;
				    	break;
				    case "s":
				    	con[18] ++;
				    	break;
				    case "t":
				    	con[19] ++;
				    	break;
				    case "u":
				    	con[20] ++;
				    	break;
				    case "v":
				    	con[21] ++;
				    	break;
				    case "w":
				    	con[22] ++;
				    	break;
				    case "x":
				    	con[23] ++;
				    	break;
				    case "y":
				    	con[24] ++;
				    	break;
				    case "z":
				    	con[25] ++;
				    	break;
				    default:
				    	break;
				    }
				}
		}
		//出力
		System.out.println("a : " + con[0]);
		System.out.println("b : " + con[1]);
		System.out.println("c : " + con[2]);
		System.out.println("d : " + con[3]);
		System.out.println("e : " + con[4]);
		System.out.println("f : " + con[5]);
		System.out.println("g : " + con[6]);
		System.out.println("h : " + con[7]);
		System.out.println("i : " + con[8]);
		System.out.println("j : " + con[9]);
		System.out.println("k : " + con[10]);
		System.out.println("l : " + con[11]);
		System.out.println("m : " + con[12]);
		System.out.println("n : " + con[13]);
		System.out.println("o : " + con[14]);
		System.out.println("p : " + con[15]);
		System.out.println("q : " + con[16]);
		System.out.println("r : " + con[17]);
		System.out.println("s : " + con[18]);
		System.out.println("t : " + con[19]);
		System.out.println("u : " + con[20]);
		System.out.println("v : " + con[21]);
		System.out.println("w : " + con[22]);
		System.out.println("x : " + con[23]);
		System.out.println("y : " + con[24]);
		System.out.println("z : " + con[25]);
		
		scanner.close();
  }
  
}
