Roshan Mishra's submission of Restore Sequence | CodeChef