vinay raj 's submission of Prime Generator | CodeChef