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]: [50.004, -66.47, 243.356, 69.209, -92.092, 242.39, 205.245, 91.307, 180.15]
[A]: [ 0.054 -0.072  0.264  0.075 -0.1    0.263  0.222  0.099  0.195]


[Q]: [103.175, 172.942, 74.406]
[A]: [0.294 0.493 0.212]


[Q]: [247.796, 144.123, 191.069, 18.649, 245.447]
[A]:
[0.293 0.17  0.226 0.022 0.29 ]