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]: [164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]
[A]: [ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]


[Q]: [91.089, 25.699]
[A]: [0.78 0.22]


[Q]: [181.859, 52.763, 225.621, -50.983, -59.864, 130.141, -70.398, -85.015, 73.359, 84.442]
[A]:
[ 0.377  0.109  0.468 -0.106 -0.124  0.27  -0.146 -0.176  0.152  0.175]


