Little Red Riding Hood is walking to her grandmother's house. She reads the Big Bad Wolf's blog, which lists the paths that he and his friends guard. The wolf keeps the details to himself, so the blog only publishes the probability that a path has no wolf on it. If Little Red Riding Hood takes a path a wolf is guarding, she is eaten. Every path through the forest runs in one direction, so she cannot walk back along a path she has taken.
Find the largest probability that Little Red Riding Hood reaches her grandmother's house.
The picture below shows the first example.

The first line contains the number of test cases.
Each test case begins with a line containing an integer N (1≤N≤100), the number of intersections. The next line contains two integers X and Y (1≤X,Y≤N) separated by a single space, the starting intersection X and the ending intersection Y. A route from X to Y always exists. The next line contains an integer M (0≤M≤5000), the number of one directional paths. Each of the next M lines contains three values separated by spaces: the start intersection A, the end intersection B, and the probability P (0.000<P≤1.000) that the path from A to B is safe, meaning no wolf guards it. Two intersections can be joined by more than one path. Every probability is written with at most three digits after the decimal point.
For each test case print one line in the form Case x: p, where x is the case number starting from 1 and p is the probability that Little Red Riding Hood reaches her grandmother's house along the safest route.
Round p to exactly six digits after the decimal point and keep the trailing zeros. Do not use exponential notation. In every test the answer is farther than 10−9 from a rounding boundary, so the rounded value is unambiguous.
If X and Y are the same intersection, Little Red Riding Hood is already at the house, so the answer is 1.