s=input() d={} c=1 l=[] s1='' for i in range(0,len(s)): c=1 for j in range(1,len(s)): if i