eolymp
bolt
Try our new interface for solving problems
Problems

Two flower beds

Two flower beds

Andrey Sergeevich and Vitaly Borisovich decided to start breeding flowers. Andrei Sergeyevich planted a circle of daisies on the lawn in front of the main building, and Vitaly Borisovich planted a circle of dandelions. Viktor Alexandrovich and Natalia Mikhailovna decided to water the flowers every morning. To evenly distribute the work, they decided that each of them will water exactly half of the daisies and exactly half of the dandelions. At the same time, in order not to get confused, they decided to divide the flowers into appropriate parts by a straight fence.

Help Victor Aleksandrovich and Natalia Mikhailovna to divide the flower garden into two parts.

Input

First line contains three integers: x1, y1 и r1 - the coordinates of the centre and the radius of the circle of daisies. Second line contains three integers: x2, y2 и r2 - the coordinates of the centre and the radius of the circle of dandelions. Coordinates are not more than 104 by absolute value. The radii are positive and do not exceed 104.

Output

Print four integers xa, ya, xb and yb that do not exceed 109 by absolute value. The line passed through the different points (xa, ya) and (xb, yb).

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 0 3
2 0 3
Output example #1
1 0
2 0
Input example #2
2 2 1
2 2 3
Output example #2
2 2
3 2
Author Андрей Станкевич
Source Тринадцатая международная командная олимпиада школьников ЛКШ среди параллелей A, A' и B