public static void main(String[] args) { Scanner in = new Scanner(System.in); String temp=in.next(); char[] c=new char[temp.length()];