f(x0)

Time limit: 5000ms
Memory limit: 256mb

Description:
Let f(x) = 5 + x - 10 * x^2 + 4 * x^3.
Given a positive interger x0, please output f(x0). 

Input:
There is a single positive integer x0 on the first line, 1 <= x0 <= 10.

Output:
Output an integer, f(x0).

Sample input:
3

Sample output:
26

Hint:
f(3) = 5 + 3 - 10 * 3^2 + 4 * 3^3 = 26
Submit