Luca Cavalleri's submission of Prime Generator | CodeChef