Given the value of n! (n! = 1 \cdot 2 \cdot \ldots \cdot (n - 1) \cdot n), determine the value of n.
The input contains the value of n! (1 \leq n \leq 2000).
Output the value of the positive integer n.
Example 1