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]: [-61.977, 227.296]
[A]: [-0.375  1.375]


[Q]: [-1.221, -57.825, 88.968, 237.724, 173.581, -67.349]
[A]: [-0.003 -0.155  0.238  0.636  0.464 -0.18 ]


[Q]: [167.034, 85.694, 225.92]
[A]:
[0.349 0.179 0.472]