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]: [-9.711, 45.209]
[A]: [-0.274  1.274]


[Q]: [5.16, -90.959, 1.709, 154.549, 95.867, 163.585, 185.904, 57.694, 173.75]
[A]: [ 0.007 -0.122  0.002  0.207  0.128  0.219  0.249  0.077  0.233]


[Q]: [-59.924, -40.859, 156.129, -10.934, -86.076, 220.979, -8.429]
[A]:
[-0.351 -0.239  0.914 -0.064 -0.504  1.293 -0.049]


