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: [-65.101, 50.909, 218.069]

A: [-0.319  0.25   1.07 ]
****
Q: [170.997, 168.919, 162.608, -16.388, -81.975, -60.792, -54.261, 236.975, -95.809]

A: [ 0.397  0.393  0.378 -0.038 -0.191 -0.141 -0.126  0.551 -0.223]
****
Q: [148.965, -6.53, 80.427, -91.651, 221.543, -86.048, 100.761, -19.564]

A:
[ 0.428 -0.019  0.231 -0.263  0.637 -0.247  0.29  -0.056]
****