#abc280d. [abc280_d]Factorial and Multiple
[abc280_d]Factorial and Multiple
Problem Statement
You are given an integer greater than or equal to .
Find the minimum positive integer such that is a multiple of .
Here, denotes the factorial of . Under the Constraints of this problem, we can prove that such an always exists.
Constraints
- is an integer.
Input
The input is given from Standard Input in the following format:
Output
Print the minimum positive integer such that is a multiple of .
Sample Input 1
30
Sample Output 1
5
Therefore, is the minimum positive integer such that is a multiple of . Thus, should be printed.
Sample Input 2
123456789011
Sample Output 2
123456789011
Sample Input 3
280
Sample Output 3
7