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]: [126.888, 168.76, 70.177, -33.353, 169.892, 64.311]
[A]: [ 0.224  0.298  0.124 -0.059  0.3    0.113]


[Q]: [-56.645, 164.309, -98.764, 38.132, 180.507]
[A]: [-0.249  0.722 -0.434  0.168  0.793]


[Q]: [8.803, 245.008]
[A]:
[0.035 0.965]