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: [-39, -78, -10, -56, 67, 4, 97, 31]

SOLUTION: [-58.5, -44.0, -33.0, 5.5, 35.5, 50.5, 64.0]

PROBLEM: [4, 49]

SOLUTION: [26.5]

PROBLEM: [-81, 41, -84, 73]

SOLUTION:
[-20.0, -21.5, -5.5]