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]: [24.112, 124.142, 193.374, 26.609, 228.483, 53.107, 153.075, 23.176, 87.534]
[A]: [0.026 0.136 0.212 0.029 0.25  0.058 0.168 0.025 0.096]


[Q]: [222.972, 178.555, -34.936, -41.439, 241.596, -88.158, -90.562, -52.425]
[A]: [ 0.664  0.532 -0.104 -0.123  0.72  -0.263 -0.27  -0.156]


[Q]: [241.155, 0.628, 147.948, 103.726, 1.64]
[A]:
[0.487 0.001 0.299 0.21  0.003]