Valentine's Day is approaching, and Stepan, an enthusiastic fan of the holiday, has been given the task of selecting balloons to decorate the hall. At the university where Stepan studies, the student council president maintains a detailed inventory of all available balloons. There are single-colored balloons, each with a diameter of D_i millimeters, where ranges from to . According to the student council's new guidelines, at least balloons must be used for the decoration. However, the student council president, who is not fond of Valentine's Day, has introduced a concept called the "ugliness index." This index is defined as the maximum possible difference D_i - D_j for 1 \le i, j \le M, where is the number of balloons chosen for the hall, and D_i represents their diameters.
Your task is to assist Stepan in selecting balloons (M \ge K) from the available balloons such that the ugliness index is minimized.
The first line of the input contains two integers, (2 \le N \le 100000) and (2 \le K \le N). The second line contains integers D_i (1 \le D_i \le 10^9), which represent the diameters of the balloons.
The output should be the minimized ugliness index for the selected balloons.
Example 1