Game with string

Problem Name:
Game with string
Site:CodeForces
Links:
Tags:
Problem setters: