codeforces#P1952G. Mathematician Takeover

    ID: 34559 远端评测题 1000ms 256MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>2-satchinese remainder theoremmathstringsternary search

Mathematician Takeover

Description

A mathematician grabbed my computer as I was preparing this problem, deleted the statement, and changed the samples to fit his liking. The model solution and input/output format are still correct, but the samples are wrong.

I've partially fixed the problem so that when you submit, it will be tested against the correct version of the problem. However, I can't fix the samples below. As a computer scientist, can you solve the correct problem?

The only line of input contains a real number $x$ ($1 \leq x \leq 100$), given to exactly three decimal places.

Output one real number — the answer. Your answer is considered correct if its absolute or relative error does not exceed $10^{-4}$. Formally, let your answer be $a$, and the jury's answer be $b$. Your answer is accepted if and only if $\frac{|a-b|}{\max(1,|b|)} \le 10^{-4}$.

Input

The only line of input contains a real number $x$ ($1 \leq x \leq 100$), given to exactly three decimal places.

Output

Output one real number — the answer. Your answer is considered correct if its absolute or relative error does not exceed $10^{-4}$. Formally, let your answer be $a$, and the jury's answer be $b$. Your answer is accepted if and only if $\frac{|a-b|}{\max(1,|b|)} \le 10^{-4}$.

1.234
4.113
99.000
0.21026
1.41415
4.59512