Network disconnection

###### Description

The rectangle is a figure with four straight sides and four right angles. Given 3 points of a rectangle in a coordinate plane, figure out the last point to make a rectangle.

`v`

is an array, containing 3 points of a rectangle. By using `v`

, make a solution function that returns the last point.

##### Constraints

`v`

is an array, containing 3 points of a triangle.- Each of
`v`

's element has`x`

and`y`

coordinates, which represents a point of a rectangle. - In
`v`

, two points can be connected either with a vertical or horizontal line. - Each coordinate is a natural number, less than or equal to 10 billion.
- Return the last point, [coordiante x, coordinate y].

##### Examples

v | result |
---|---|

[[1, 4], [3, 4], [3, 10]] | [1, 10] |

[[1, 1], [2, 2], [1, 2]] | [2, 1] |

Example #1

When there are 3 points: [1, 4], [3, 4], [3, 10]

[1,10] will make a rectangle.

Example #2

When there are 3 points: [[1, 1], [2, 2], [1, 2]]

[2,1] will make a rectangle.

Result
Stop

Result of [Run] or [Submit] will be displayed here