## Factorial Calculator

View as PDF

Points: 7 (partial)
Time limit: 1.0s
Python 2 2.0s
Python 3 2.0s
Memory limit: 256M

Author:
Problem type

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?

#### Constraints Let be the coefficient of in computerized scientific notation. It is guaranteed that .  #### Input Specification

The first and only line of input will contain a single integer, .

#### Output Specification

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

4

#### Sample Output 1

2.4e+1

#### Explanation for Sample Output 1

Note that . Therefore, the coefficient is and the exponent is .

#### Sample Input 2

70

#### Sample Output 2

1.197857167e+100