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: [172.492, -61.715, 72.87, 141.009, -97.0, 27.34, 192.494, 5.796]

A: [ 0.381 -0.136  0.161  0.311 -0.214  0.06   0.425  0.013]
****
Q: [-71.278, 43.63, 90.263, 5.61, 59.485, 80.74, 137.446]

A: [-0.206  0.126  0.261  0.016  0.172  0.233  0.397]
****
Q: [21.559, 12.987, 248.794, -79.974, -46.193, 232.133, 183.242]

A:
[ 0.038  0.023  0.435 -0.14  -0.081  0.405  0.32 ]
****