#Lutece0050. Flagstone

Flagstone

Migrated from Lutece 50 Flagstone

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

In the Qingshuihe Campus of UESTC, the most annoy problem to students are the flagstone path on the lawn. The designer seems so stupid that the flagstone path often make students step in the gap. Now a perfect step is wanted in order to not step in any gaps and step on every flagstone. The step length is required to be constant while the length of the flagstone and gap are given different. The problem is asking you to tell the minimum length of the perfect step. To simplify the question, the foot is considered to be a point and the very beginning is the fore edge of the first flagstone, which also means the first flagstone has already been stepped on.

Input

The first line of the input contains one integer TT, which indicate the number of test cases. In each test case, the first line contains an integer NN(2N1052 \leq N \leq 10^5), indicating the number of flagstone. Following NN lines, and each line is the length of one flagstone. And the following N1N-1 lines are the length of the gaps. All data is integer. All the length will be a positive integer, and the sum of them will fit in a 32bit signed integer.

Output

One line for each test case contains only one number indicating the answer. One real number indicating the perfect step length should be accurate to two digits after the radix point. If it is impossible to find out a perfect step, just output impossible !

Samples

2
2
10
20
5
3
10
20
5
5
1000
15.00
impossible

Note

每个石板踏且仅踏一次

Resources

电子科技大学第七届ACM程序设计大赛 初赛