Function - 5#8690

Function - 5

1 second
128 megabytes
Very easy

Implement the function f(x, y, z) = xyz + x + y^2 + z^3.

Input

Three positive integers , , (x, y, z \leq 10^6).

Output

Print the value of the function f(x, y, z).

Examples

Example 1

Loading
Loading