import java.io.*; import java.util.*; class Main { public static void main(String args[])throws Exception { BufferedReader bu=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); char s[]=bu.readLine().toCharArray(); int i,c[]=new int[26],n=s.length; boolean p=true; for(i=0;i