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]: [-95.052, 44.855, 168.107, -59.536, 54.077, 225.341]
[A]: [-0.281  0.133  0.498 -0.176  0.16   0.667]


[Q]: [-85.185, 184.082, 186.03, 128.01, 102.943, -16.058]
[A]: [-0.17   0.368  0.372  0.256  0.206 -0.032]


[Q]: [179.88, 40.597, 9.144, 6.885, -97.129, -88.148, 88.715]
[A]:
[ 1.285  0.29   0.065  0.049 -0.694 -0.63   0.634]