eolymp
Problems

Function - 4

Function - 4

Implement the function f(x) = 1 + x + x2.

Input

One positive integer x (x109).

Output

Print the value of the function f(x).

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
13