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: [222.47, 240.651, 3.5, -20.351, 249.944, 55.201, 41.763, -68.155]

A: [ 0.307  0.332  0.005 -0.028  0.345  0.076  0.058 -0.094]
****
Q: [-68.455, -99.089, 147.474, 206.2, 225.447, 82.373, 80.417]

A: [-0.119 -0.173  0.257  0.359  0.393  0.143  0.14 ]
****
Q: [230.009, -0.762, -82.406, 38.441, -19.166, 149.258, 157.707, 112.435]

A:
[ 0.393 -0.001 -0.141  0.066 -0.033  0.255  0.269  0.192]
****