Prateek's submission of Next Magic Number | CodeChef