Атанас Димитров's submission of Mysterious Sequence | CodeChef