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: [-33.478, -42.164, 31.396]

A: [ 0.757  0.953 -0.71 ]
****
Q: [145.233, 180.581, -96.725, 215.629, 27.976, 51.401, 117.126, 121.852, 220.57]

A: [ 0.148  0.184 -0.098  0.219  0.028  0.052  0.119  0.124  0.224]
****
Q: [227.336, 111.223, -64.457, 231.844, -1.33, 189.294]

A:
[ 0.328  0.16  -0.093  0.334 -0.002  0.273]
****