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]: [98.484, 190.025, -78.608]
[A]: [ 0.469  0.905 -0.375]


[Q]: [8.889, 145.908, 76.545, 230.962]
[A]: [0.019 0.316 0.166 0.5  ]


[Q]: [-97.8, 112.874, 198.675, 52.109]
[A]:
[-0.368  0.425  0.747  0.196]