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]: [156.747, -11.171, 123.307, 114.583, 209.733, 32.145, 236.125]
[A]: [ 0.182 -0.013  0.143  0.133  0.243  0.037  0.274]


[Q]: [159.522, 187.936, 110.31, 19.51, 201.142]
[A]: [0.235 0.277 0.163 0.029 0.296]


[Q]: [-29.909, 205.339, 5.093, 124.417, -84.319, 111.55, -26.191, 244.4]
[A]:
[-0.054  0.373  0.009  0.226 -0.153  0.203 -0.048  0.444]