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]: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]
[A]: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]


[Q]: [96.684, 11.401, 151.126, -65.202, 110.672]
[A]: [ 0.317  0.037  0.496 -0.214  0.363]


[Q]: [172.492, -61.715, 72.87, 141.009, -97.0, 27.34, 192.494, 5.796]
[A]:
[ 0.381 -0.136  0.161  0.311 -0.214  0.06   0.425  0.013]