s=['a'] b=98 for v in raw_input():s=[s+[len(s[0])*chr(b)],[x+chr(b)for x in s]]["?">v];b+=1 for z in s:print z