Yash Chandnani's submission of Mysterious Sequence | CodeChef