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]: [-92.516, 245.148, 192.383, 24.265, -87.629, 5.945, -86.275, 165.992]
[A]: [-0.252  0.667  0.524  0.066 -0.239  0.016 -0.235  0.452]


[Q]: [-49.451, 199.304, 136.072]
[A]: [-0.173  0.697  0.476]


[Q]: [35.152, 10.421, 47.391, 2.823]
[A]:
[0.367 0.109 0.495 0.029]