Author: | A. Klenin | Time limit: | 1 sec | |
Input file: | input.txt | Memory limit: | 256 Mb | |
Output file: | output.txt |
A rectangular area with sides parallel to coordinate axises is represented by coordinates of two opposite corners (x1,y1) and (x2,y2).
Your program must find the coordinate axis which is closest to the given rectangular area.
Input file contains four integers x1y1x2y2 — coordinates of area corners.
Output file must contain a single string:
−109≤x1,y1,x2,y2≤109
No. | Input file (input.txt ) |
Output file (output.txt ) |
---|---|---|
1 |
|
|
2 |
|
|
3 |
|
|