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]: [179.751, 230.589, -35.091]
[A]: [ 0.479  0.614 -0.094]


[Q]: [-46.5, 4.215, 105.396, 76.508]
[A]: [-0.333  0.03   0.755  0.548]


[Q]: [142.023, 178.236, 89.682, -88.402, 4.915, 189.913, 97.218, 1.405]
[A]:
[ 0.231  0.29   0.146 -0.144  0.008  0.309  0.158  0.002]