We have an array of integer points and an integer . At each element , we will either add or subtract . We have to operate in such a way, that the absolute difference between the maximum value and the minimum value in the array is minimal.
Find the minimum absolute difference between the maximum value obtained by the operation.
Input format
Output format
Print the minimum value obtained by the operation.
Constraints
We can add to the and subtract from to get . The absolute difference between the maximum and minimum element is . The minimum answer is .