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]: [236.436, 107.458, -65.81, 155.073, 106.741, 120.439, 79.421, 163.684, 103.981]
[A]: [ 0.235  0.107 -0.065  0.154  0.106  0.12   0.079  0.162  0.103]


[Q]: [-52.398, 73.145, -57.086, 79.147, -50.635, 26.425, 173.059, -26.155, 34.019]
[A]: [-0.263  0.367 -0.286  0.397 -0.254  0.132  0.867 -0.131  0.171]


[Q]: [-4.002, 71.424, 145.098, 7.874, 34.798, -29.411, 45.733, 125.185, 62.268, 147.757]
[A]:
[-0.007  0.118  0.239  0.013  0.057 -0.048  0.075  0.206  0.103  0.244]