TASK DEFINITION: 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].
PROBLEM: [-31, 39, -47]

SOLUTION: [4.0, -4.0]

PROBLEM: [-18, 63, 49, 17, 1]

SOLUTION: [22.5, 56.0, 33.0, 9.0]

PROBLEM: [-35, -16, 24, -3]

SOLUTION:
[-25.5, 4.0, 10.5]