T='abcdefghijklmnopqrstuvwxyz' S=input() print(next(t+'to'+s for t,s in zip(T,S) if t!=s))