In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3].
--------
Question: [18, -10, 28, 29, -23, 98]

Answer: [4.0, 9.0, 28.5, 3.0, 37.5]


Question: [11, 88]

Answer: [49.5]


Question: [-52, 10, -5, -82, 27, 50]

Answer:
[-21.0, 2.5, -43.5, -27.5, 38.5]