IntermediateRating 1100
Moving Average
Print the average of every window of k consecutive values, with 2 decimals, on one line.
Input
n k, then n integers.
Output
One line.
Sample 1
Input
5 3 1 2 3 4 5
Output
2.00 3.00 4.00
Sample 2
Input
1 1 7
Output
7.00
Output appears here