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: [224.598, -17.025, 112.546, -16.324, -23.133, -23.311, 202.051, -40.903, -30.892]

A: [ 0.579 -0.044  0.29  -0.042 -0.06  -0.06   0.521 -0.106 -0.08 ]
****
Q: [148.702, 143.872, 226.132]

A: [0.287 0.277 0.436]
****
Q: [185.471, 68.165, 107.758, 160.134, 203.919, 65.078, 60.905]

A:
[0.218 0.08  0.127 0.188 0.24  0.076 0.072]
****
