P6468 [COCI 2008/2009 #6] BAZEN
Description

There is an isosceles right triangle with right-angle side length $250$ placed on the Cartesian coordinate plane as shown in the figure. You need to draw a line segment that divides the area of this triangle into two equal parts, and both endpoints of the segment must lie on the sides of the triangle.
Given the coordinates of the starting point of this segment, find the coordinates where the endpoint should be.
Input Format
Input one line with two integers, representing the coordinates of the starting point of the segment.
Output Format
Output one line with two real numbers, representing the coordinates of the endpoint of the segment.
Since the answer may not be an integer, round it to two decimal places (round half up). **This problem uses SPJ**.
Explanation/Hint
#### Notes
**Translated from [COCI2008-2009](https://hsin.hr/coci/archive/2008_2009/) [CONTEST #6](https://hsin.hr/coci/archive/2008_2009/contest6_tasks.pdf) *T2 BAZEN***。
Translated by ChatGPT 5