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]: [-52.398, 73.145, -57.086, 79.147, -50.635, 26.425, 173.059, -26.155, 34.019]
[A]: [-0.263  0.367 -0.286  0.397 -0.254  0.132  0.867 -0.131  0.171]


[Q]: [-20.728, 47.8, -7.813]
[A]: [-1.076  2.482 -0.406]


[Q]: [54.205, 181.499, -86.169, 181.668, 175.811, 121.694, -8.082, 190.503, -72.679]
[A]:
[ 0.073  0.246 -0.117  0.246  0.238  0.165 -0.011  0.258 -0.098]