import java.io.*; public class text{ public static void main(String argumendid[]) throws IOException { BufferedReader sisse=new BufferedReader(new FileReader("uina.txt")); String rida=sisse.readLine(); String[] t2hed=new String[256]; int[] t2htedearv=new int[256]; for (int n=0;n<255;n++) t2htedearv[n]=0; int sonu=0; while(rida!=null) { boolean polnud=true; int j=0; if(rida.substring(0, 1).equals(" ")==false) { sonu++; String t2ht=rida.substring(0,1); j=0; polnud=true; while (t2hed[j] != null && j<=255) { if(t2ht.equals(t2hed[j])) { t2htedearv[j]++; polnud=false; break; } j++; } if (polnud == true) if(t2hed[j]==null) { t2hed[j]=t2ht; t2htedearv[j]++; } } for(int i=0;i