There are given numbers. Find the minimum among each consecutive numbers.
The first line contains the numbers and k~(1 \le n \le 10^6, 1 \le k \le n). The second line contains integers between and .
Print the minimum among each consecutive numbers.
Example 1