An asteroid is heading straight for Earth. We can see only part of it — the rest is hidden behind the Sun — so its size and speed are unknown, and we must plan for the worst case.
Fortunately we have missiles. When a missile strikes the asteroid, the asteroid splits into two pieces that fly apart symmetrically, separating at a total angle of $a$ degrees. Each piece therefore leaves the asteroid's original line of flight at an angle of $a/2$ and then travels in a straight line.
Earth is a circle of radius $R = 6378.1$ km centered at the origin. The asteroid travels straight toward the origin. We fire a missile from the point on Earth's surface nearest the asteroid (distance $R$ from the origin) straight along the asteroid's path; the missile moves at a constant speed, and the asteroid keeps its constant speed until impact.
If the missile strikes the asteroid while it is still at distance $d$ from the origin, the two pieces miss Earth exactly when $d \cdot \sin(a/2) \ge R$. Firing later means a smaller $d$ and less separation, so there is a last possible moment to fire. Given the asteroid's current distance, the separation angle, and the two speeds, report how many seconds remain before it is too late to fire.
The first line contains the number of test cases $K$. Each of the next $K$ lines describes one scenario with four numbers:
For each scenario, print Data Set x: on its own line, where $x$ is the scenario number starting from $1$. On the next line print the number of seconds remaining before it is too late to fire, rounded to two decimal places. If less than $0$ seconds remain, print Oh no! instead. Separate consecutive scenarios with a single blank line.