xyz111's submission of Petya and Sequence | CodeChef