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