Conditional statement - 2#8521

Conditional statement - 2

1 second
128 megabytes
Very easy

Find the value of according to the following condition:

y = \begin{cases} x^3 + 5x, x \ge 10 \\ x^2 - 2x + 4, x < 10 \end{cases}

Input

One integer x~(-10^4 \le x \le 10^4).

Output

Print the value of according to the given condition.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading