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]: [140.652, 95.04]
[A]: [0.597 0.403]


[Q]: [80.953, -39.18, 92.673]
[A]: [ 0.602 -0.291  0.689]


[Q]: [60.322, -39.302, -67.221, 69.223, 69.386, 247.461, 144.217, -74.514]
[A]:
[ 0.147 -0.096 -0.164  0.169  0.169  0.604  0.352 -0.182]