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

문제

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

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

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

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

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

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

입력

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

출력

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

예제 입력 1

0 0

예제 출력 1

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