e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 3: November 23 – 29. For Loop. Part 2

Value of variable 3

Find the value of the variable y for a given real value of the variable x.

Image 3.jpg

Input

Value of the variable x.

Output

Print the value of the variable y up to thousandths.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1
Output example #1
-1.000
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"