Greatest divisor#8928

Greatest divisor

1 second
128 megabytes
Easy

For a given positive integer print its greatest divisor other than .

Input

One positive integer n\:(1 < n < 2^{31}).

Output

Print the greatest divisor of other than .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading