Four integers A, B, C, and X are given. Compute the value of the following expression:
The input consists of four lines, each containing one integer: A, B, C, and X ( -100000 \leq A, B, C, X \leq 100000)
Print the computed value of the function.
Example 1