Conditional operator#260

Conditional operator

1 second
128 megabytes
Very easy (≈850)

Aşağıdaki şərtə uyğun olaraq -in qiymətini hesablayın:

y = \begin{cases} x + 5, x < -4 \\ x^2 - 3x, -4 \le x \le 7 \\ x^3 + 2x, x > 7 \end{cases}

Input

x~(-100 \le x \le 100) integer.

Output

Print the value of according to the given condition.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading