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]: [83.552, 242.554]
[A]: [0.256 0.744]


[Q]: [106.3, -50.849, 9.02, -35.539, -72.426]
[A]: [-2.444  1.169 -0.207  0.817  1.665]


[Q]: [-48.292, 183.575, 159.454, -28.801, -65.984, -16.668, 117.573, 22.995, 161.688, -65.901]
[A]:
[-0.115  0.437  0.38  -0.069 -0.157 -0.04   0.28   0.055  0.385 -0.157]