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: [24.101, 159.95, -98.312, -54.904, 160.352]

A: [ 0.126  0.837 -0.514 -0.287  0.839]
****
Q: [121.797, 148.705, -20.956]

A: [ 0.488  0.596 -0.084]
****
Q: [191.316, 127.51, 235.46, 66.246]

A:
[0.308 0.205 0.379 0.107]
****