Function - 1#8239

Function - 1

1 second
128 megabytes
Very easy

Implement the function f(x) = x^3 + 2 \cdot x^2 - 3.

Input

Each line contains one real number .

Output

For each value of , print the value of the function on a separate line with four decimal places.

Examples

Example 1

Loading
Loading