Q: 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.
[-29.411, -34.128, -12.101, 134.174, 217.965, 35.207, -70.846, 146.757, 161.103]
A:
[-0.054 -0.062 -0.022  0.245  0.397  0.064 -0.129  0.267  0.294]