Lets Play the Words?

Problem Name:
Lets Play the Words?
Site:CodeForces
Links:
Tags:
Problem setters: