eolymp
Problems

Function - 4

Function - 4

Time limit 1 second
Memory limit 128 MiB

Implement the function f(x) = 1 + x + x^2.

Input data

One positive integer x\:(x \le 10^9).

Output data

Print the value of the function f(x).

Examples

Input example #1
3
Output example #1
13