Find the 10001st prime

Tried to use Sieve of Eratosthenes to find the prime number. It’s not
the most elegant.