import java.util.Scanner; import java.util.Arrays; class a{ public static void main(String[] b){ Scanner sc=new Scanner(System.in); String a=sc.next(); int t[]=new int[a.length()]; char u[]=new char[a.length()]; Arrays.fill(t,0); int n; for(int i=0;i