1364: [noip2012普及组]质因数分解

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:221 Solved:101

Description


已知正整数n 是两个不同的质数的乘积,试求出较大的那个质数。

Input

输入只有一行,包含一个正整数n。
 

Output

输出只有一行,包含一个正整数p,即较大的那个质数。

Sample Input Copy

21

Sample Output Copy

7

HINT

【数据范围】
对于60%的数据,6 ≤ n ≤ 1000。
对于100%的数据,6 ≤ n ≤ 2*10^9.