FVA27TNS75OQUHWRPADSLQWYSKUDDNKZLABYFYDJ652C3HNAEFTAC // Package prime is for prime related tasks.package primeconst max = 104743 // biggest test inputtype sieveMap map[int]boolvar mysieve = genPrimes(max)// genPrimes makes non-primes true.// https://www.geeksforgeeks.org/sieve-of-eratosthenesfunc genPrimes(n int) sieveMap {sieve := make(sieveMap)for p := 2; p*p <= n; p++ {for i := p * p; i <= n; i += p {sieve[i] = true}}return sieve}// Nth returns the n-th prime number or false on error.func Nth(n int) (int, bool) {if n < 1 {return 0, false}count, i := 0, 0for i = 2; count < n; i++ {if !mysieve[i] {count++}}return i - 1, true}