Implement the function f(x)=1+x+x2.
One positive integer x(x≤109).
Print the value of the function f(x).