"I say we must move forward, not backward;
upward, not forward;
and always twirling, twirling, twirling towards freedom!"
— Former U.S. Presidential nominee Kodos.
After hearing this inspirational quote from America's first presidential nominee from the planet Rigel VII, you have decided that you too would like to twirl (rotate) towards freedom. For the purposes of this problem, you can think of "freedom" as being as far away from your starting location as possible.
The galaxy is a twodimensional plane. Your space ship starts at the origin, position
How far away can you move from the origin after M minutes?
The image illustrates the first 3 rotations for a possible path in sample case 1. Note that this path is not necessarily a part of any optimal solution.
The first line of the input gives the number of test cases, T. T test cases follow, beginning with two lines containing integers N and M. The next N lines each contain two integers, X_{i} and Y_{i}, representing the locations of stars.
For each test case, output one line containing "Case #x: D", where x is the case number (starting from 1) and D is the distance from the origin to the optimal final position. Answers with absolute or relative error no larger than 10^{6} will be accepted.
1 ≤ T ≤ 100;
1000 ≤ X_{i} ≤ 1000;
1000 ≤ Y_{i} ≤ 1000.
No two stars will be at the same location.
There may be a star at the origin.
1 ≤ N ≤ 10.
1 ≤ M ≤ 10.
1 ≤ N ≤ 5000.
1 ≤ M ≤ 10^{8}.
Input 
Output 
3

Case #1: 6.324555
