Ian's submission of Mysterious Sequence | CodeChef