Construct square 2#5189

Construct square 2

1 second
64 megabytes
Easy

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

Input

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.

Output

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

Examples

Example 1

Loading
Loading