Fast Enterprises Interview Question

Write a program to return the nth prime number.