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]: [-71.628, 49.37, 147.263, 187.318, 67.661, 41.289, 86.789, 88.487]
[A]: [-0.12   0.083  0.247  0.314  0.113  0.069  0.145  0.148]


[Q]: [79.05, 173.918, 212.156, 97.371, 128.236, 100.43, -7.858, 170.527]
[A]: [ 0.083  0.182  0.222  0.102  0.134  0.105 -0.008  0.179]


[Q]: [106.799, 199.072, 190.279, -90.217]
[A]:
[ 0.263  0.49   0.469 -0.222]