Three real numbers , , and are given. Using auxiliary functions for calculating the minimum and maximum of two elements, determine \min(\max(x, y), \max(y, z), x + y + z).
The only line contains three real numbers , , and separated by spaces. The values do not exceed in absolute value.
Print the answer rounded to two decimal places.
Example 1