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: [102.172, 110.658, -51.022, 53.999, 83.403]

A: [ 0.341  0.37  -0.171  0.18   0.279]
****
Q: [-40.471, -21.276, 213.299, 177.089, 141.933, -96.589, 103.252, 92.793]

A: [-0.071 -0.037  0.374  0.311  0.249 -0.169  0.181  0.163]
****
Q: [-16.831, 112.137, 241.507, 159.242, 70.155, 31.521, 122.998, -84.599, -6.431]

A:
[-0.027  0.178  0.384  0.253  0.111  0.05   0.195 -0.134 -0.01 ]
****