Construct square 2#5189

Construct square 2

1 segundo
64 megabytes
Fácil

Construct a square given two points, which are opposite vertices of the square.

Entrada

The program receives the coordinates of two opposite vertices of the square as input. First, the coordinates of the first vertex are provided, followed by the coordinates of the second vertex. Each coordinate is a pair of integers, with absolute values not exceeding 10^4.

Salida

Output real numbers, representing the coordinates of all four vertices of the square in traversal order.

Ejemplos

Ejemplo 1

Loading
Loading