It's the final year of high school for the CS nerd, so he should find a girl soon. In particular, he has an interest in one particular girl (and for privacy reasons, we will refer to her as "the girl"). The CS nerd isn't feeling very confident about approaching the girl, so he asks Jason to help boost his confidence.
Of course, the perfect method of boosting confidence is by solving a problem! Jason asks the CS nerd to calculate , where . The CS nerd thinks that the task is simple (since he can simply use his super awesome calculator), but Jason reminds him that his calculator cannot calculate factorials above . If the CS nerd solves this problem, his confidence will be boosted higher than normal since he solved a math problem.
Since factorials can become very, very large, Jason does not want the CS nerd to list every single digit in his answer, so Jason wants the CS nerd to write his answer in computerized scientific notation, which is in the form
<coefficient>e+<exponent> where the coefficient is a real number between (inclusive) and (exclusive), and the exponent is an integer. This notation represents the number:
Can you help the CS nerd solve this problem in order to gain confidence?
Let be the coefficient of in computerized scientific notation. It is guaranteed that .
Subtask 1 [30%]
Subtask 2 [20%]
Subtask 3 [50%]
No additional constraints.
The first and only line of input will contain a single integer, .
Print the value of in computerized scientific notation.
Your answer will be considered correct if the coefficient is within an absolute error of and the exponent matches.
Sample Input 1
Sample Output 1
Explanation for Sample Output 1
Note that . Therefore, the coefficient is and the exponent is .
Sample Input 2
Sample Output 2