Maximum prime factor#417

Maximum prime factor

1 second
128 megabytes
Easy (≈1000)

Find the largest prime factor of a number .

Input

One positive integer n\:(n \le 10^{14}).

Output

Print the largest prime factor of a number .

Examples

Example 1

Loading
Loading