Pulkit garg's submission of Restore Sequence | CodeChef