Function - 5#165

Function - 5

1 second
128 megabytes
Very easy (≈850)

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

Input

Three natural numbers , , (x, y, z ≤ 10^6).

Output

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

Examples

Example 1

Loading
Loading