e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 8: December 28 - January 10. Functions. Part 2

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