avinash soni's submission of Restore Sequence | CodeChef