(C. Fox and Names)
Unable to understand the problem,Can anyone explain this please?
http://mirror.codeforces.com/problemset/problem/510/C
CF Edu Round 189 Solution Discussion