You will be given a definition of a task first, then some input of the task.
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].

[9, 64, 65, -83, -51, -65, 75, -78, -31, -1, 10, -79, -24]
Output:
[36.5, 64.5, -9.0, -67.0, -58.0, 5.0, -1.5, -54.5, -16.0, 4.5, -34.5, -51.5]
You will be given a definition of a task first, then some input of the task.
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].

[9, 64, 65, -83, -51, -65, 75, -78, -31, -1, 10, -79, -24]
Output:
user
[36.5, 64.5, -9.0, -67.0, -58.0, 5.0, -1.5, -54.5, -16.0, 4.5, -34.5, -51.5]
assistant
You will be given a definition of a task first, then some input of the task.
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].

[9, 64, 65, -83, -51, -65, 75, -78, -31, -1, 10, -79, -24]
Output:
[36.5, 64.5, -9.0, -67.0, -58.0, 5.0, -1.5, -54.5, -16.0, 4.5, -34.5, -51.5]