Conditional statement - 2
Execution time limit is 1 second Runtime memory usage limit is 128 megabytes Find the value of y according to the following condition:
y={x3+5x,x≥10x2−2x+4,x<10
Input
One integer x (−104≤x≤104).
Output
Print the value of y according to the given condition.
Examples