ithprime(n) returns the n-th prime number less than 10000 (current limitation). Input :
Output :
Input :
because ithprime(1230) is greater than 10000.