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