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]: [166.754, 127.664, 16.508, -86.602, -58.491, -6.352]
[A]: [ 1.046  0.8    0.104 -0.543 -0.367 -0.04 ]


[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]: [145.748, 224.308, 235.8, 34.212, -12.609]
[A]:
[ 0.232  0.357  0.376  0.055 -0.02 ]


