import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args){ try { (new Solve()).solve(); } catch (NumberFormatException | IOException e) { e.printStackTrace(); } } } class Solve{ void solve() throws NumberFormatException, IOException{ final ContestScanner in = new ContestScanner(); char[] s = in.nextToken().toCharArray(); int[] alp = new int[26]; for(int i=0; i