Given an array of integers of length >= 3, return the average of the first, last, and middle element (or the two middle elements if the length is even).