Greatest divisor
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
For a given positive integer print its greatest divisor other than .
Input
One positive integer .
Output
Print the greatest divisor of other than .
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 16K
Acceptance rate 19%