Recovering a Small String

Problem Name:
Recovering a Small String
Site:CodeForces
Links:
Tags:
Problem setters: