favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

# Function - 5

Impement the function f(x, y, z) = xyz + x + y2 + z3.

#### Input

Three positive integers x, y, z (x, y, z106).

#### Output

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

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 2 3

Output example #1
38