Ranjeet Kumar's submission of Prime Generator | CodeChef