Sarthak jain's submission of Mysterious Sequence | CodeChef