What a Reversal

Problem Name:
What a Reversal
Site:CodeForces
Links:
Tags:
Problem setters: