시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 127 32 27 26.733%

문제

상범이는 저번 주말에 수영장을 만들었다.

수영장은 직각 이등변 삼각형이고, 두 변의 길이가 250이다.

사실 상범이가 수영장을 만든 이유는 파티였다. 파티에는 많은 여학생들이 왔고, DJ도 왔다. 또, 고기는 매우 맛있게 구워지고 있었다.

하지만, 그들이 예상하지 못한 문제가 생겼다. 이 파티에 놀러왔던 친구들 중에 준민이는 채식주의자였기 때문에 고기를 먹지 않는다. 반면에, 고기가 없는 파티는 파티라고 생각하지 않는다. 따라서, 상범이는 수영장을 두 부분으로 나누기로 했다.

수영장은 위에 그림에서 보이듯이 좌표 평면 위에 있다. 그리고, 두 끝점이 삼각형의 변 위에 있는 선분을 이용해서 두 구역으로 나눌 것이다. 두 구역은 넓이가 같아야 한다.

삼각형을 이등분하는 선분의 한 끝점이 주어진다. 이 때, 다른 한 끝점을 구하는 프로그램을 작성하시오.

입력

첫째 줄에 선분의 한 끝점이 주어진다. 이 점은 항상 삼각형의 변 위에 있다.

출력

첫째 줄에 다른 끝점을 소수점 둘째 자리까지 출력한다. 이 때, 셋째 자리에서 반올림하면 된다.

예제 입력 1

0 0

예제 출력 1

125.00 125.00
W3sicHJvYmxlbV9pZCI6IjI5MzYiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWNjNDRcdWMyZGRcdWM4ZmNcdWM3NThcdWM3OTAiLCJkZXNjcmlwdGlvbiI6IjxwPlxyXG5cdFx1YzBjMVx1YmM5NFx1Yzc3NFx1YjI5NCBcdWM4MDBcdWJjODggXHVjOGZjXHViOWQwXHVjNWQwIFx1YzIxOFx1YzYwMVx1YzdhNVx1Yzc0NCBcdWI5Y2NcdWI0ZTRcdWM1YzhcdWIyZTQuPFwvcD5cclxuXHJcbjxwPlxyXG5cdFx1YzIxOFx1YzYwMVx1YzdhNVx1Yzc0MCBcdWM5YzFcdWFjMDEgXHVjNzc0XHViNGYxXHViY2MwIFx1Y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