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]: [164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]
[A]: [ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]


[Q]: [-11.114, 3.629, 159.164]
[A]: [-0.073  0.024  1.049]


[Q]: [119.982, -19.876, 49.911, 27.813, 4.049, 44.746, 244.741, -80.877]
[A]:
[ 0.307 -0.051  0.128  0.071  0.01   0.115  0.627 -0.207]