The factory foreman at Widgets Inc. is worried that whenever he leaves the factory floor to do paperwork in his office, the workers on the floor start goofing off.
Management has decided to install a surveillance camera so the foreman can monitor the floor from his office. The camera is mounted on a rail that runs the entire length of one wall. It slides back and forth along the rail while also panning (rotating its angle of view), so it can see anything that could be seen by an observer standing anywhere along that wall.
During installation, someone notices that the large widget-stamping machine on the floor might block the camera's view, and that workers could hide in the machine's "shadow" to avoid being seen. Given the dimensions of the factory, the dimensions of the machine, and the machine's position, determine what percentage of the open floor space (the area not occupied by the machine) is hidden from the camera.
The input contains several test cases, one per line. Each line holds six floating-point numbers:
$$w_1 ; h_1 ; w_2 ; h_2 ; x ; y$$
Input ends with a line of six numbers whose first value is $0$; that line is not processed.
For each test case, print a single line in the form
P%
where $P$ is the percentage of the open floor space that is hidden from the camera, with $0 \le P \le 100$. Print $P$ rounded to exactly one decimal digit.