Anuj Mittal's submission of Petya and Sequence | CodeChef