P12677 [HackerEarth] find the nth prime
普及
题目描述

Given the value of n, print the n'th prime number.

Input : A single integer n.
Output : A single number which is the n'th prime number.
Constraints :
1 ≤ n ≤ 1000

SAMPLE INPUT
2

SAMPLE OUTPUT
3

Explanation

The first few prime numbers are:
2,3,5,7. So, the answer is 3.

输入格式

见题面

输出格式

见题面

样例输入
2 SAMPLE
样例输出
3