Super minimum#347

Super minimum

1 second
128 megabytes
Medium (≈1350)

There are given numbers. Find the minimum among each consecutive numbers.

Input

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 .

Output

Print the minimum among each consecutive numbers.

Examples

Example 1

Loading
Loading