#P42. [KBC003B] Triangle 1
[KBC003B] Triangle 1
Source
This problem is adapted from Long Long OJ. All rights reserved.
Problem Description
Given two distinct lattice points , find a lattice point such that is a right triangle.
Note that the output point must satisfy .
Input Format
A single line containing four integers .
Output Format
The coordinates of a point that satisfies the conditions.
Samples
0 0 2 4
3 1
Sample Explanation
In the sample, .
Since , is a right triangle with .
Note that the coordinates of point are not unique.
Data Range
For 100% of the data, .