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]: [245.92, 106.086, -49.935, 132.239, -5.977, 156.59, -24.595]
[A]: [ 0.439  0.189 -0.089  0.236 -0.011  0.279 -0.044]


[Q]: [116.5, 164.064, -75.34, -59.637, 248.341, -47.273, 214.963, 188.896, 159.124, -5.386]
[A]: [ 0.129  0.181 -0.083 -0.066  0.275 -0.052  0.238  0.209  0.176 -0.006]


[Q]: [112.895, 233.201, 77.901, -24.562, -7.836, 61.558, 150.029, 18.772, -89.687]
[A]:
[ 0.212  0.438  0.146 -0.046 -0.015  0.116  0.282  0.035 -0.168]