RGB_ICPC7's submission of Restore Sequence | CodeChef