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]: [-38.963, 237.606, -71.065, 198.598, -8.485]
[A]: [-0.123  0.748 -0.224  0.625 -0.027]


[Q]: [80.699, 66.421, 171.597, -94.287, -26.505, 172.596, 233.171, 182.398, 74.889, 165.048]
[A]: [ 0.079  0.065  0.167 -0.092 -0.026  0.168  0.227  0.178  0.073  0.161]


[Q]: [167.86, -74.128, -31.608, 145.082, -75.907, 9.391, -12.354, 153.182, 98.672, 100.303]
[A]:
[ 0.349 -0.154 -0.066  0.302 -0.158  0.02  -0.026  0.319  0.205  0.209]