Function - 1#161

Function - 1

1 second
128 megabytes
Very easy (≈850)

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

Input

Each line contains a real number .

Output

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

Examples

Example 1

Loading
Loading