p02141 Donut Hole_28504
Problem

You brought a flat, holeless donut with a $ W $ horizontal $ H $ vertical $ H $ rectangle for ACPC.
Place this donut on the $ 2 $ dimension plane coordinate $ (0,0) $ with the center of the donut so that the side of length H and the $ y $ axis are parallel.


On the ACPC $ 1 $ day you ate a donut that was in the range of $ w $ vertical $ h $ centered on the coordinates ($ x $, $ y $).
If you want to eat the same amount on the $ 2 $ and $ 3 $ days, divide the donut by a straight line passing through the coordinates $ (0,0) $, and the sum of the donut areas in the area on one side of the straight line is on the other side I want it to be equal to the sum of the donut areas in the area of.


Find one slope of such a straight line.

Constraints

The input satisfies the following conditions.

* $ 1 \ lt h \ lt H \ lt 10 ^ 6 $
* $ 1 \ lt w \ lt W \ lt 10 ^ 6 $
* $ 1 \ le y \ le (h / 2 + H-1)-H / 2 $
* $ 1 \ le x \ le (w / 2 + W-1)-W / 2 $
* $ W $, $ H $, $ w $, $ h $ are even numbers

Input

The input is given in the following format.


$ W $ $ H $ $ w $ $ h $ $ x $ $ y $


Output

Output the slope of a straight line in one line. If the absolute error or relative error is $ 10 ^ {-6} $ or less, the answer is correct.

Examples

Input

6000 5000 20 10 400 300


Output

0.75


Input

10 10 8 8 8 8


Output

1
def inpl(): return list(map(int, input().split()))
W, H, w, h, x, y = inpl()

a = (min(W//2 , x + w//2) + max(-W//2, x-w//2))
b = (min(H//2 , y + h//2) + max(-H//2, y-h//2))
print(b/a)

6000 5000 20 10 400 300 10 10 8 8 8 8 6000 5000 20 2 400 300 6000 5000 20 2 400 204 6000 5000 20 2 499 204 274 5000 28 1 499 204 274 4268 28 0 499 209 274 8140 32 0 499 209 274 14753 32 0 499 132 6000 5000 20 10 400 575 16 16 8 8 8 8 16 18 8 8 8 8 6000 5000 20 2 400 228 6000 5000 20 2 998 204 2096 5000 28 2 697 204 2096 5000 28 1 499 225 344 5000 28 0 499 204 274 4268 28 0 499 186 274 4268 28 0 250 209 274 8140 32 0 499 173 6000 5000 20 10 71 575 16 8 8 8 8 8 9396 5000 49 2 42 204 2096 5000 28 1 794 225 274 914 28 1 499 282 486 5000 28 0 499 204 274 4268 52 0 499 186 274 5991 28 0 827 209 274 14753 32 1 499 418 274 21473 32 0 499 249 7828 5000 20 0 671 300 6000 5000 40 2 499 359 274 914 2 1 499 282 486 5000 28 0 499 131 274 4268 30 0 499 186 274 318 32 0 499 173 274 21473 26 0 499 249 16 16 0 8 8 5 9396 5000 58 2 42 288 6000 5000 40 2 972 359 2096 5000 45 3 495 204 486 5000 28 0 181 131 274 21473 20 0 499 249 7828 5000 20 -1 1069 300 7075 7635 20 0 400 383 6000 5000 40 2 1342 359 2096 5000 45 3 124 204 7828 5000 20 -1 646 300 7075 7635 20 0 400 677 7599 5000 20 14 998 118 16 16 -1 8 8 7 7828 5000 20 -1 438 300 7075 7635 20 0 400 1301 13365 5000 91 2 42 564 373 5000 6 0 181 32 274 53635 32 0 499 785 274 5918 20 1 690 249 16 16 -1 8 4 7 7828 5000 20 -1 438 464 8336 5000 29 2 2651 359 274 5918 20 1 690 471 956 8792 0 7 71 966 16 22 -1 8 4 7 7599 6795 20 9 1330 118 8336 5000 29 2 1938 359 274 5918 20 1 690 869 1581 7635 20 1 650 1301 7599 6795 20 9 1330 236 709 9203 6 0 181 23 274 5918 20 1 690 1139 543 8792 0 7 71 1168 228 2947 46 2 124 204 8336 5000 4 3 1449 359 7828 10252 13 -1 292 464 8336 5000 4 3 1132 359 328 76 46 2 124 204 7828 10252 13 -1 574 464 8454 6795 25 9 1330 258 328 130 46 2 124 204 8336 5000 4 2 1132 686 42 130 46 2 124 204 8336 5000 4 2 1132 190 42 130 46 4 124 204 42 130 46 6 124 204 9740 10252 20 0 388 464 4583 5000 4 2 1132 278 42 130 46 6 241 204 4583 5000 4 2 1258 278 42 130 46 6 241 240 4583 5000 4 2 1137 278 4997 2843 22 12 1330 391 4583 5000 4 2 1137 472 8327 8725 5 0 1871 472 3092 6443 5 0 23 464 5498 8725 5 0 1871 244 5498 8725 5 0 359 244 616 11394 7 0 23 484 6305 10729 5 1 359 484 108 11394 7 0 23 535 6305 10729 7 1 312 484 135 11394 8 1 7 535 6305 1450 6 1 180 484
0.75 1 0.7500000000
 0.5100000000
 0.4088176353
 0.6559485531
 0.6720257235
 0.6741935484
 0.4258064516
 1.4375000000
 1.0000000000
 1.0833333333
 0.5700000000
 0.2044088176
 0.2926829268
 0.4509018036
 0.6210045662
 0.5980707395
 1.1206434316
 0.5580645161
 8.0985915493
 0.6666666667
 4.8571428571
 0.2833753149
 0.9067524116
 0.5604395604
 0.6098360656
 0.4400000000
 1.3483870968
 0.8032258065
 0.4470938897
 0.7194388778
 0.8881889764
 0.3598901099
 0.5990338164
 0.5354838710
 0.7993579454
 0.5625000000
 6.8571428571
 0.3693415638
 0.4121212121
 0.7237569061
 0.7955271565
 0.2806361085
 0.9575000000
 0.2675111773
 1.6451612903
 0.4643962848
 1.6925000000
 0.1182364729
 0.6875000000
 0.6849315068
 3.2525000000
 13.4285714286
 0.1767955801
 2.5322580645
 0.6095471236
 1.3750000000
 1.0593607306
 0.1354205960
 1.1529987760
 13.6056338028
 1.7500000000
 0.0887218045
 0.1852425181
 2.1272949816
 2.0015384615
 0.1774436090
 0.1270718232
 2.7882496940
 16.4507042254
 1.8976744186
 0.2477570738
 1.5890410959
 0.3171378092
 0.9717741935
 0.8083623693
 0.1939849624
 1.0806451613
 0.6060070671
 2.1967213115
 0.1678445230
 2.1885245902
 2.1803278689
 1.1958762887
 0.2455830389
 1.1129707113
 0.2209856916
 1.2635983264
 0.2445030783
 0.2939849624
 0.4151275286
 0.2522715126
 20.1739130435
 0.1304115446
 0.6796657382
 21.0434782609
 1.3481894150
 23.2608695652
 1.5512820513
 76.4285714286
 2.6888888889
