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]: [101.04, 52.213, 186.403]
[A]: [0.297 0.154 0.549]


[Q]: [140.455, 25.005, 12.952, 23.645]
[A]:
[0.695 0.124 0.064 0.117]