Andrey Kim's submission of Count K-Primes | CodeChef