#abc215f. [abc215_f]Dist Max 2
[abc215_f]Dist Max 2
Problem Statement
Given are distinct points in a two-dimensional plane. Point has the coordinates .
Let us define the distance between two points and be : the smaller of the difference in the -coordinates and the difference in the -coordinates.
Find the maximum distance between two different points.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the maximum distance between two different points.
Sample Input 1
Sample Output 1
The distances between Points and , between Points and , and between Points and are , , and , respectively, so your output should be .