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]: [220.782, -40.434, 66.368, -43.265]
[A]: [ 1.085 -0.199  0.326 -0.213]


[Q]: [11.762, 150.905, 5.594, -4.717, 62.877, 187.591, 132.722]
[A]: [ 0.022  0.276  0.01  -0.009  0.115  0.343  0.243]


[Q]: [126.965, 88.025, 194.262, 47.88, 220.77, -40.504, 40.966, 9.255]
[A]:
[ 0.185  0.128  0.283  0.07   0.321 -0.059  0.06   0.013]