#TLE想定 S=input() for i in range(1,len(S)+1): if S.count(S[i-1])==1: print(i,S[i-1])