#abc196a. [abc196_a]Difference Max
[abc196_a]Difference Max
Problem Statement
Given are integers , , , and .
We will choose integers and such that and . Find the maximum possible value of here.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
0 10
0 10
Sample Output 1
10
achieves the maximum value .
Sample Input 2
-100 -100
100 100
Sample Output 2
-200
Sample Input 3
-100 100
-100 100
Sample Output 3
200