Find the radio operator

아직 제출이 없습니다시간 제한1초메모리 제한256 MB

문제

Stierlitz is awaiting a new assistant --- a radio operator girl about to be parachuted from a plane. But the pilots missed the spot in the pitch black night, and dropped the girl in the wrong spot. The only saving grace is that this spot is a point on a plane with integer coordinates... Stierlitz has no choice --- he must find the girl. Crashing through thickets with a flashlight is not a becoming pastime for a Standartenfuerher, but alas, he has got no one to delegate it to. One of his deputies is enjoying a vacation, another one has hit the bottle, and the third one, albeit done with his vacation --- and the bottle --- is good for nothing. To cope with the challenge, Stierlitz has borrowed a radio tracker from Herr Schellenberg and is driving across the field, trying to pinpoint the poor girl.

The tracker device, the latest invention of the self-taught locksmith genius Polesov, works in the following way: the car stops in a point on the plane and directs the antenna in a certain direction, measuring the strength of the signal. If Stierlitz is standing in the same spot as the radio operator, the device reads 1-1 regardless of the direction. Otherwise, the device shows a signal level of Pcosφ/R2P \cos\varphi / R^2 if φ<90\varphi < 90 degrees, and zero if φ90\varphi \geq 90 degrees. Here φ\varphi is the angle between the vector of the antenna direction and the vector pointing from Stierlitz's car towards the radio operator, RR is the distance from the car to the radio operator, and PP is an unknown constant depending on the radio equipment.

Stierlitz must pinpoint the location of the radio operator with less than 10 bearings; more bearings will summon Mueller's boys from the competing organization.

힌트

For reading convenience, commands in the example are separated by lines with the minus symbol. Your program must not print any minuses.

In the sample, the radio operator girl is located at point (4, 3) and the constant PP is 1.51.5. Notice that interactor computes the power of the signal using double precision and prints it with many decimal points.