#Lutece1496. Car

Car

Migrated from Lutece 1496 C

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

Ruins is driving a car to participating in a programming contest. As on a very tight schedule, he will drive the car without any slow down, so the speed of the car is non-decrease real number.

Of course, his speeding caught the attention of the traffic police. Police record NN positions of Ruins without time mark, the only thing they know is every position is recorded at an integer time point and Ruins started at 00.

Now they want to know the minimum time that Ruins used to pass the last position.

Input

First line contains an integer TT (1T1001\le T\le 100), which indicates the number of test cases.

Every test case begins with an integers NN (1N1051\le N\le 10^5), which is the number of the recorded positions.

The second line contains NN numbers a1,a2,,aNa_1, a2, \ldots , a_N (0<ai109,ai<ai+10<a_i\le 10^9,a_i<a_{i+1}), indicating the recorded positions.

Output

For every test case, you should output Case #x: y, where x indicates the case number and counts from 11 and y is the minimum time.

Samples

1
3
6 11 21
Case #1: 4

Resources

第二届中国大学生程序设计竞赛 杭州站(CCPC 2016 Hangzhou Site)