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]: [94.856, 99.337, -98.362, 62.017, 89.355, 180.099, 11.26]
[A]: [ 0.216  0.227 -0.224  0.141  0.204  0.411  0.026]


[Q]: [94.074, 116.233, -38.023, -8.757, -77.941, 13.162, 78.677]
[A]: [ 0.53   0.655 -0.214 -0.049 -0.439  0.074  0.443]


[Q]: [216.547, 121.167, -32.052, -45.781, -54.17, 9.667, 39.181, -29.154]
[A]:
[ 0.961  0.538 -0.142 -0.203 -0.24   0.043  0.174 -0.129]