On 95A ( http://mirror.codeforces.com/contest/95/problem/A ), third example, the final answer is abCacba, but why not abCccba ? (because as I can see, you must change every forbidden string in the lucky letter).
I'm sorry if I didn't see something in the problem that explains this, but I'm confused with that answer.