Score : $100$ points
Let us define a function $f$ as $f(x) = x^2 + 2x + 3$.
Given an integer $t$, find $f(f(f(t)+t)+f(f(t)))$.
Here, it is guaranteed that the answer is an integer not greater than $2 \times 10^9$.
Input is given from Standard Input in the following format:
$t$
Print the answer as an integer.
0
1371
The answer is computed as follows.
3
722502
10
1111355571