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: [71.922, -17.185, 217.855, 165.79]

A: [ 0.164 -0.039  0.497  0.378]
****
Q: [51.967, 80.616, 109.805, 30.339, 162.936, -59.313, -16.193, 61.555, 213.105]

A: [ 0.082  0.127  0.173  0.048  0.257 -0.093 -0.026  0.097  0.336]
****
Q: [242.468, -93.041, 194.003, 82.145, 226.576, -81.921, 2.231, 10.473]

A:
[ 0.416 -0.16   0.333  0.141  0.389 -0.141  0.004  0.018]
****