Granny is preparing homemade moonshine whiskey for a large family reunion. Because the family is so big, she brews it in several batches and pours them all into one large metal cream can. After brewing — and sampling — a few batches, she stumbles and knocks the can onto its side. Fortunately the lid is sealed tight, so not a drop of whiskey is lost.
The can is a solid of revolution about a single central axis. It has a cylindrical body of height $h_b$ and diameter $d_b$, and a cylindrical neck of height $h_n$ and diameter $d_n$. The body and neck are coaxial and are joined by a tapered conic shoulder (a cone frustum), so that the can's total height is $h$; the shoulder's height is therefore $h - h_b - h_n$. The bottom of the can (a disk of diameter $d_b$) closes the body, and the lid (a disk of diameter $d_n$) closes the neck.
With the can standing upright, the whiskey reached a depth of $k$ cm. After the can is laid on its side, what is the depth of the whiskey, measured from the lowest point of the can?

The input consists of several test cases. Each test case is a line containing six real numbers $k$, $h_b$, $d_b$, $h_n$, $d_n$, $h$. You may assume that $100 \ge h \ge h_b + h_n$ and that $100 \ge d_b \ge d_n$. A line containing 0 0 0 0 0 0 follows the last test case and must not be processed.
For each test case, output a single line containing $s$, the depth of the whiskey when the can is lying on its side, rounded to two decimal places.