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]: [128.101, 16.516, 246.993, 104.335, -69.747, 238.429, -26.383]
[A]: [ 0.201  0.026  0.387  0.163 -0.109  0.374 -0.041]


[Q]: [240.691, -46.027]
[A]: [ 1.236 -0.236]


[Q]: [-64.813, -26.516, 15.274, 231.204, -17.133, 208.516]
[A]:
[-0.187 -0.077  0.044  0.667 -0.049  0.602]