#D5890. Divisor Game
Divisor Game
Divisor Game
C: Divisor Game
problem
tsutaj is trying to play about a few games.
In a divisor game, a natural number N of 2 or more is given first, and then the game progresses according to the following procedure.
- Declare one integer from the divisors of N other than N. However, at this time, it is not possible to declare a divisor of an integer that has already been declared.
- Repeat this as long as there is an integer that can be declared, and if there is nothing that can be declared, the game ends.
Find the minimum and maximum number of possible declarations before the end of the game.
Input format
Input is given on one line.
N
Constraint
- 2 \ leq N \ leq 10 ^ {12}
Output format
Output the minimum and maximum number of declarations on one line separated by spaces.
Input example 1
18
Output example 1
twenty five
The following is an example of setting the number of declarations to 2.
- Declare 9.
- Declare 6. (6 is not a divisor of 9, so it can be declared)
If you do this, any integer that is a divisor of 18 and not 18 will be a divisor of the integers you have declared, and the game will end.
Note that you cannot declare anything that is a divisor of an integer that you have already declared. For example, you cannot declare 3 after declaring 9. Because 3 is a divisor of 9.
Input example 2
99
Output example 2
twenty five
Input example 3
10000000019
Output example 3
1 1
The input may not fit in a 32-bit integer type.
Example
Input
18
Output
2 5
inputFormat
Input format
Input is given on one line.
N
Constraint
- 2 \ leq N \ leq 10 ^ {12}
outputFormat
Output format
Output the minimum and maximum number of declarations on one line separated by spaces.
Input example 1
18
Output example 1
twenty five
The following is an example of setting the number of declarations to 2.
- Declare 9.
- Declare 6. (6 is not a divisor of 9, so it can be declared)
If you do this, any integer that is a divisor of 18 and not 18 will be a divisor of the integers you have declared, and the game will end.
Note that you cannot declare anything that is a divisor of an integer that you have already declared. For example, you cannot declare 3 after declaring 9. Because 3 is a divisor of 9.
Input example 2
99
Output example 2
twenty five
Input example 3
10000000019
Output example 3
1 1
The input may not fit in a 32-bit integer type.
Example
Input
18
Output
2 5
样例
18
2 5