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]: [26.353, 248.25, -61.679, 242.486]
[A]: [ 0.058  0.545 -0.135  0.532]


[Q]: [154.443, 146.759, -59.964, -61.4, 206.95, 151.025]
[A]: [ 0.287  0.273 -0.111 -0.114  0.385  0.281]


[Q]: [218.561, 138.88]
[A]:
[0.611 0.389]


