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: [-42.256, 243.33, 116.799, 231.776, 218.527, 50.57, 48.628, 228.07, -38.11]

A: [-0.04   0.23   0.11   0.219  0.207  0.048  0.046  0.216 -0.036]
****
Q: [31.541, -32.498, 202.96]

A: [ 0.156 -0.161  1.005]
****
Q: [217.544, 40.98, 248.807, -57.65, 30.479, 72.866, -41.584, 35.938, -7.614, 244.08]

A:
[ 0.278  0.052  0.317 -0.074  0.039  0.093 -0.053  0.046 -0.01   0.311]
****