Akshay Naikwadi's submission of Mysterious Sequence | CodeChef