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: [-16, 54, 42]

Answer: [19.0, 48.0]


Question: [-16, -7, -2, 3, 84, -53, 9, 30, -67, 44, -42, 99]

Answer: [-11.5, -4.5, 0.5, 43.5, 15.5, -22.0, 19.5, -18.5, -11.5, 1.0, 28.5]


Question: [40, -47, -16]

Answer:
[-3.5, -31.5]