Donut Hole

Time Limit : 2 sec, Memory Limit : 524288 KB

Problem E: Donut Hole

Problem

ȂACPĈ߂ɉ$W$c$H$̒ŕׂÂȂh[icQ܂B
̃h[ic$2$ʏ̍W$(0,0)$Ƀh[ic̒SdˁAH̕ӂ$y$sɂȂ悤ɒu܂B

ACPC$1$ڂɂȂ͍W($x$,$y$)𒆐Sɉ$w$c$h$͈̔͂ɑ݂h[icHׂ܂B
$2$ڂ$3$ڂɐHׂʂ𓙂Ȃ́AW$(0,0)$ʂ钼Ńh[ic𕪊A̕Б̗̈ɂh[ic̖ʐς̑aБ̗̈ɂh[ic̖ʐς̑aƓȂĂ悤ɂƍlĂ܂B

̂悤Ȓ̌X߂ĂB

Input

͈͂ȉ̌ŗ^B

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


Constraints

͈͂ȉ̏𖞂B

• $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$͋

Output

̌Xsɏo͂BȂAΌ덷܂͑Ό덷$10^{-6}$ȉłΐƂȂB

Sample Input 1

6000 5000 20 10 400 300


Sample Output 1

0.75


Sample Input 2

10 10 8 8 8 8


Sample Output 2

1