Maximum prime factor#11498

Maximum prime factor

1 second
128 megabytes
Medium

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