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]: [-33.478, -42.164, 31.396]
[A]: [ 0.757  0.953 -0.71 ]


[Q]: [161.082, 67.844, 17.769, 196.815, 228.033, 21.441]
[A]: [0.232 0.098 0.026 0.284 0.329 0.031]


[Q]: [100.309, 3.216, 238.773, 81.656, -66.768, 43.598, 154.502]
[A]:
[ 0.181  0.006  0.43   0.147 -0.12   0.079  0.278]