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: [20, -17, 41, -60, 2, 64, 36, 16, -43]

Answer: [1.5, 12.0, -9.5, -29.0, 33.0, 50.0, 26.0, -13.5]


Question: [40, 34, -39]

Answer: [37.0, -2.5]


Question: [35, -2, 52, -7, -20]

Answer:
[16.5, 25.0, 22.5, -13.5]