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.

Q: [67.588, 241.221, -67.943, 207.517, -16.396, -7.645, 162.994, 177.837]

A: [ 0.088  0.315 -0.089  0.271 -0.021 -0.01   0.213  0.232]
****
Q: [-73.556, -10.815, -36.656, 53.404, -74.91, 109.867, 82.085, 123.89, 24.639]

A: [-0.372 -0.055 -0.185  0.27  -0.378  0.555  0.415  0.626  0.124]
****
Q: [-40.332, 171.563, 81.783, 157.149, -58.977, -92.837, -14.111, 37.783, -18.775]

A:
[-0.181  0.768  0.366  0.704 -0.264 -0.416 -0.063  0.169 -0.084]
****