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: [143.387, 196.521, -97.02, 170.676, 198.728, 61.586, -58.101]

A: [ 0.233  0.319 -0.158  0.277  0.323  0.1   -0.094]
****
Q: [-75.409, 180.525, 170.639]

A: [-0.273  0.655  0.619]
****
Q: [-55.178, -67.628, 108.003, 24.085, 225.858, 162.391, 199.263, 240.444, 164.764, 245.795]

A:
[-0.044 -0.054  0.087  0.019  0.181  0.13   0.16   0.193  0.132  0.197]
****
