The numbers −10, 2, 5, 8 and 15 are rearranged according to these rules:
- The largest number is not in the first or last position.
- The smallest number is not in the first or last position.
- The median is not in the first or last position.
What is the average of the first and last numbers?