Utkarsh Garg's submission of Mysterious Sequence | CodeChef