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]: [-36.797, 93.739, 170.894, 193.582, 128.83, 85.681, 104.071, -40.571, -84.657]
[A]: [-0.06   0.152  0.278  0.315  0.21   0.139  0.169 -0.066 -0.138]


[Q]: [172.492, -61.715, 72.87, 141.009, -97.0, 27.34, 192.494, 5.796]
[A]: [ 0.381 -0.136  0.161  0.311 -0.214  0.06   0.425  0.013]


[Q]: [166.416, 247.833, 37.462]
[A]:
[0.368 0.549 0.083]