Fast Enterprises interview question

Write a program to return the nth prime number.