Recover it!

Problem Name:
Recover it!
Site:CodeForces
Links:
Tags:
Problem setters: