The Acme Extrusion Company makes steel bars with custom-designed cross-sections. To make a bar, a hole is cut into a thick metal plate; the shape of the hole is chosen by the customer.
Molten metal is then forced through the hole to form a long bar, so the shape of the hole becomes the shape of the cross-section of the bar.
Given a description of a polygonal hole and the volume of molten metal available, determine how long a bar can be formed by this process.
The input contains one or more data sets. Each data set consists of the following information:
For each data set, print a single line of the form
BAR LENGTH: x
where $x$ is the maximum bar length, printed with exactly two digits after the decimal point.