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: [56.345, -71.526, 163.534, 45.488, 161.533, 4.674, 190.511, -36.911]

A: [ 0.11  -0.139  0.318  0.089  0.314  0.009  0.371 -0.072]
****
Q: [-46.5, 4.215, 105.396, 76.508]

A: [-0.333  0.03   0.755  0.548]
****
Q: [167.922, -76.783, 216.919, 237.87, 108.64, -88.339]

A:
[ 0.297 -0.136  0.383  0.42   0.192 -0.156]
****