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: [104.535, -18.168, 76.388, -33.473, 182.214, 179.034, 113.071, 221.794, -14.064]

A: [ 0.129 -0.022  0.094 -0.041  0.225  0.221  0.139  0.273 -0.017]
****
Q: [-24.189, 94.765, 19.042, 88.423]

A: [-0.136  0.532  0.107  0.497]
****
Q: [238.308, -2.286, -50.644, 228.955, 36.097, 122.092, -21.684, -17.873, -43.27]

A:
[ 0.487 -0.005 -0.103  0.468  0.074  0.249 -0.044 -0.036 -0.088]
****