eolymp
bolt
Try our new interface for solving problems
Problems

Value of variable 1

Value of variable 1

Time limit 1 second
Memory limit 128 MiB

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

y = x^3 - {5 x^2 \over 7} + 9x - {3 \over x} + 1

Input data

Value of the variable x.

Output data

Print the value of the variable y up to thousandths.

Examples

Input example #1
1
Output example #1
7.286
Author Matviychuk Sergiy
Source "ABC programming"