To construct a rectangle with sides parallel to the coordinate axes, you need the coordinates of two opposite vertices. Your task is to write a program that calculates the coordinates of the other two vertices of the rectangle.
The input consists of a single line containing four integers x_1, y_1, x_2, y_2 (-1000\leq x_1, y_1, x_2, y_2\leq 1000, x_1 \neq x_2, y_1 \neq y_2) — which represent the coordinates of the given opposite vertices.
Output four integers x_3, y_3, x_4, y_4 — which are the coordinates of the other two opposite vertices. The coordinates should be printed in the order of the left vertex first, followed by the right vertex.
Beispiel 1
Beispiel 2