eolymp
bolt
Try our new interface for solving problems
Problems

Function

Function

Time limit 1 second
Memory limit 128 MiB

Let function f(x) is defined as

prb4812.gif

Calculate the value of f(x) for a given x.

Input data

Each line contains one double value x (x1).

Output data

For each value x print on a separate line the value f(x) with 6 digits after the decimal point.

Examples

Input example #1
1
2.3
2.56
7.123456
Output example #1
10.731685
31.926086
40.762019
3725.231017