s=list(input()) n=len(s) l=[] i=0 while i