As an end-of-the-world alarmist, you are always looking for new data to support your doomsday theories. A common form of data is a series of scalar samples taken over time — for example, the outdoor temperature recorded once per second for a whole day, or the height of the tide measured once per minute for a month. Given such a sampling, you want to check whether the gap between the largest sample and the smallest sample is large, so that you can shout that the world has changed dramatically and is about to end.
The trouble is that such data sets often contain erroneous samples whose values are far too large or far too small, caused by transient failures in the measuring equipment. To make your claims more believable, you smooth out these bad values by computing a moving average.
Given a series of $n$ samples $s_1, s_2, \ldots, s_n$ and a window size $w$ with $w \le n$, the moving average consists of $n - w + 1$ values. The first value is the average of the first $w$ samples $s_1, s_2, \ldots, s_w$. The second value is the average of the same window shifted one step forward, i.e. the average of $s_2, s_3, \ldots, s_{w+1}$, and so on. For simplicity, round each value of the moving average down to the nearest integer that is less than or equal to it (the floor).
For each data set, report the difference between the maximum and the minimum value of its moving average.
The first line contains the number $K$ of data sets. The $K$ data sets follow, each in the form below.
The first line of a data set contains two integers $n$ and $w$: the number of samples and the window size, with $1 \le n \le 100$ and $1 \le w \le n$. The next line contains $n$ non-negative integers, the samples; each sample is at most $1000$.
For each data set, output a line Data Set x:, where $x$ is the number of the data set (starting from 1). On the next line, output the absolute difference between the maximum and the minimum value of the moving average. Follow each data set with a blank line.