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]: [86.109, 86.13, 146.507, 99.602]
[A]: [0.206 0.206 0.35  0.238]


[Q]: [237.315, -96.742, 179.222, 23.324, 86.395, 201.237]
[A]: [ 0.376 -0.153  0.284  0.037  0.137  0.319]


[Q]: [128.875, -12.933, 78.991, 226.394]
[A]:
[ 0.306 -0.031  0.187  0.537]