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: [-56.645, 164.309, -98.764, 38.132, 180.507]

A: [-0.249  0.722 -0.434  0.168  0.793]
****
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.043, -4.469, 157.988, -30.369, 122.585, 126.321, 3.83, -82.704]

A:
[ 0.12  -0.013  0.474 -0.091  0.368  0.379  0.011 -0.248]
****