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]: [234.077, 107.688, 115.509, 39.166, 211.514, 117.358]
[A]: [0.284 0.13  0.14  0.047 0.256 0.142]


[Q]: [-88.068, -3.157, 247.691]
[A]: [-0.563 -0.02   1.583]


[Q]: [-6.85, 92.94, 161.85, -63.729, 5.419, -14.353]
[A]:
[-0.039  0.53   0.923 -0.364  0.031 -0.082]