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]: [234.776, -81.91, 222.93, 31.896, 175.369, -51.638, -92.412]
[A]: [ 0.535 -0.187  0.508  0.073  0.399 -0.118 -0.211]


[Q]: [135.094, 210.984, 105.017, 166.128, 58.716, 5.429, 136.874]
[A]: [0.165 0.258 0.128 0.203 0.072 0.007 0.167]


[Q]: [61.442, 185.051, 122.514, 63.828]
[A]:
[0.142 0.428 0.283 0.147]


