Conditional statement - 4#8612

Conditional statement - 4

1 second
128 megabytes
Very easy

Find the value of according to condition:

y = \begin{cases} x^3 + 2x^2 +4x - 6, x \ge 0 \\ x^3 - 7x, x < 0 \end{cases}

Input

One integer x~(-1000 \le x \le 1000).

Output

Print the value of according to the conditional statement above.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading