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]: [234.776, -81.91, 222.93, 31.896, 175.369, -51.638, -92.412]
[A]: [ 0.535 -0.187  0.508  0.073  0.399 -0.118 -0.211]


[Q]: [122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]
[A]: [ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]


[Q]: [73.165, -24.198, 189.161, -18.165, 87.556, 28.848, -68.522, 216.353]
[A]:
[ 0.151 -0.05   0.391 -0.038  0.181  0.06  -0.142  0.447]