Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [-22.864, 7.359, 186.08, -71.151, 129.359, -58.981, -66.435, -47.909]
Output:
[-0.412  0.133  3.355 -1.283  2.333 -1.064 -1.198 -0.864]