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]: [64.567, 55.151, 182.067, 108.858, 198.527, 244.815, 73.48, -89.087, -37.579]
[A]: [ 0.081  0.069  0.227  0.136  0.248  0.306  0.092 -0.111 -0.047]


[Q]: [-12.02, 189.336, 50.432, 231.599, 204.287, -88.161]
[A]:
[-0.021  0.329  0.088  0.402  0.355 -0.153]