Escape Route

No attempts yetTime limit1sMemory limit128 MB

Problem

You are surrounded by Imperial warships and must land on a planet to escape. Your best chance is to reach the planet closest to your current location. Unfortunately, the navigation system has been damaged, so you must write a program that finds the planet nearest to your current position.

The distance between two points $(x_1, y_1)$ and $(x_2, y_2)$ is

$$dist = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}$$

Input

The first line contains a positive integer $n$, the number of coordinate pairs. Each of the next $n$ lines contains two integers $x$ and $y$ separated by a space. The first pair is the coordinates of your current location; every pair after it is the coordinates of a planet you can escape to.

Output

Print three lines: the coordinates of your current location, the coordinates of the closest planet, and the distance to that planet rounded to two decimal places. If several planets are equally close, print the one that appears first in the input.