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: [226.295, 79.294, -3.174, 147.813, 24.129]

A: [ 0.477  0.167 -0.007  0.312  0.051]
****
Q: [52.712, 231.411, 178.973, 4.152]

A: [0.113 0.495 0.383 0.009]
****
Q: [-20.974, 129.523, -92.617]

A:
[-1.316  8.13  -5.813]
****