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]: [-65.101, 50.909, 218.069]
[A]: [-0.319  0.25   1.07 ]


[Q]: [121.722, 110.981, 3.171]
[A]: [0.516 0.471 0.013]


[Q]: [-80.767, 39.062, 195.366, 183.329, 120.232, 206.033, 170.611]
[A]:
[-0.097  0.047  0.234  0.22   0.144  0.247  0.205]