Difference of middle#8657

Difference of middle

1 second
128 megabytes
Very easy

Four integers , , , are given. Find the difference between the second and the third biggest element.

Input

Four integers , , , . All numbers do not exceed by absolute value.

Output

Print one number - the difference between the second and the third biggest element.

Examples

Example 1

Loading
Loading