Problems
Function - 5
Function - 5
Impement the function f(x, y, z) = xyz + x + y^2
+ z^3
.
Input data
Three positive integers x, y, z (x, y, z ≤ 10^6
).
Output data
Print the value of the function f(x, y, z).
Examples
Input example #1
1 2 3
Output example #1
38