Gurpreet Singh's submission of Prime Generator | CodeChef