Nick Buelich's submission of Next Magic Number | CodeChef