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].

[Q]: [-10, 80, -47, 88, 17, 70, -21, 5]
[A]: [35.0, 16.5, 20.5, 52.5, 43.5, 24.5, -8.0]


[Q]: [-41, -35]
[A]: [-38.0]


[Q]: [34, -67, 58, -23, 63, -58]
[A]:
[-16.5, -4.5, 17.5, 20.0, 2.5]