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: [-18, 63, 49, 17, 1]

SOLUTION: [22.5, 56.0, 33.0, 9.0]

PROBLEM: [5, 5]

SOLUTION: [5.0]

PROBLEM: [-5, 90, -32, -23, 43]

SOLUTION:
[42.5, 29.0, -27.5, 10.0]