EasyRating 900
Choosing Team Leaders
A company has n employees. Choose l team leaders (1 ≤ l < n); every other employee must be in exactly one leader's team, and all teams must be the same size (at least 1). How many values of l work?
Input
One integer n (2 ≤ n ≤ 10⁵).
Output
One integer.
Sample 1
Input
2
Output
1
Sample 2
Input
10
Output
3
Output appears here