Rectangle
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given the coordinates of three vertices of a rectangle, determine the coordinates of the fourth vertex.
Input
You will receive a single line containing six integers, representing the coordinates of three points.
Output
Provide two integers, which are the coordinates of the missing vertex of the rectangle. All input and output values are integers, with absolute values not exceeding 100.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 22%