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]: [116.837, -39.548, 33.391, 175.644, 113.699, 197.292, 61.823, 218.792]
[A]: [ 0.133 -0.045  0.038  0.2    0.13   0.225  0.07   0.249]


[Q]: [-23.533, -86.932, 185.925, 48.105, 198.096, 116.835, 176.45, -65.203]
[A]: [-0.043 -0.158  0.338  0.088  0.36   0.213  0.321 -0.119]


[Q]: [172.824, 166.95, 77.353, 164.042]
[A]:
[0.297 0.287 0.133 0.282]