Erfan Alimohammadi's submission of Next Magic Number | CodeChef