Given an array of integers and an integer n, return an array of the averages of n consecutive elements of the original array. You may assume there is at least one element in the given array.