Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/kopaytma-qatori

Product series

Easy 1000 ms 64 MB 26%
Share

A positive integer $N$ is given. Compute the product of $N$ factors:

$$P = 1.1 * 1.2 * 1.3 * \dots$$

The $k$-th factor equals $1 + 0.1 * k$ ($k = 1, 2, \dots, N$).

A successive product of decimal fractions

Input

One positive integer $N$.

Output

One number — $P$, with exactly 2 digits after the decimal point (for example, 1.10).

Note

$1 \le N \le 20$

Examples

Input #1
1
Output #1
1.10
Input #2
2
Output #2
1.32

Sign in to submit a solution

Signing up is free and takes a minute.