Ashish Khatkar's submission of PRIME-QUINE | CodeChef