Srivatsh Agarwal's submission of Prime Generator | CodeChef