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: [54, 51, -18]

Answer: [52.5, 16.5]


Question: [-35, 56, -45, 14, -44]

Answer: [10.5, 5.5, -15.5, -15.0]


Question: [16, 28, 27, 58, 25, 87, -25, -57, 42]

Answer:
[22.0, 27.5, 42.5, 41.5, 56.0, 31.0, -41.0, -7.5]