Find the nth prime.

Problem Name:
Find the nth prime.
Site:HackerEarth
Links:
Tags:
Problem setters: