Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

The problem statement has recently been changed. View the changes.

×
F. ...Dary!

time limit per test

3 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputBarney has finally found the one, a beautiful young lady named Lyanna. The problem is, Lyanna and Barney are trapped in Lord Loss' castle. This castle has shape of a convex polygon of *n* points. Like most of castles in Demonata worlds, this castle has no ceiling.

Barney and Lyanna have an escape plan, but it requires some geometry knowledge, so they asked for your help.

Barney knows that demons are organized and move in lines. He and Lyanna want to wait for the appropriate time so they need to watch for the demons. Each of them wants to stay in a point inside the castle (possibly on edges or corners), also they may stay in the same position. They both want to pick a real number *r* and watch all points in the circles with radius *r* around each of them (these two circles may overlap).

We say that Barney and Lyanna are watching carefully if and only if for every edge of the polygon, at least one of them can see at least one point on the line this edge lies on, thus such point may not be on the edge but it should be on edge's line. Formally, each edge line should have at least one common point with at least one of two circles.

The greater *r* is, the more energy and focus they need. So they asked you to tell them the minimum value of *r* such that they can watch carefully.

Input

The first line of input contains a single integer *n* (3 ≤ *n* ≤ 300) — the number of castle polygon vertices.

The next *n* lines describe the polygon vertices in counter-clockwise order. *i*-th of them contains two integers *x*_{i} and *y*_{i} (|*x*_{i}|, |*y*_{i}| ≤ 10^{4}) — the coordinates of *i*-th point of the castle. It is guaranteed that given points form a convex polygon, in particular, any three of them do not line on the same line.

Output

In the first line print the single number *r* — minimum radius of guys' watching circles.

In the second line print the pair of coordinates of point where Barney should stay.

In the third line print the pair of coordinates of point where Lyanna should stay.

Points should lie inside the polygon.

Coordinates may not be integers. If there are multiple answers print any of them.

Your answer will be considered correct if its absolute or relative error doesn't exceed 10^{ - 6}.

Examples

Input

4

-41 67

-16 20

25 25

-36 85

Output

0

-16 20

-36 85

Input

7

-7 54

-5 31

-2 17

20 19

32 23

34 27

26 57

Output

2.9342248

32.019503 23.0390067

-6.929116 54.006444

Note

In the first example guys can stay in opposite corners of the castle.

Codeforces (c) Copyright 2010-2022 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Aug/17/2022 13:42:45 (g2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|