Find Kth prime using python?

Kindly help to solve this problem using python…https://www.spoj.com/problems/TDKPRIME/

It might be possible that with given constraints, this problem is unsolvable in python
but you can try like first using sieve find the prime numbers up to 8 * 10**7
then using dictionary just print the kth prime no.

Thanks bro…