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: [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: [60.824, 197.61, 207.967, 29.206, 172.716, -88.454, 66.079, -6.302, 71.447, 115.316]

A: [ 0.074  0.239  0.252  0.035  0.209 -0.107  0.08  -0.008  0.086  0.14 ]
****
Q: [226.693, -61.923]

A:
[ 1.376 -0.376]
****