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: [-29.043, -32.999, 146.576, 167.992, 174.896, 74.123, 203.797, -47.174, 153.414]

A: [-0.036 -0.041  0.181  0.207  0.216  0.091  0.251 -0.058  0.189]
****
Q: [-81.144, 52.024, -1.763, 208.552, 168.231, 69.134, 61.457, -99.022, 104.18]

A: [-0.168  0.108 -0.004  0.433  0.349  0.144  0.128 -0.206  0.216]
****
Q: [59.693, 249.142, 26.443, 118.221, 111.603, -10.046, 169.057, 241.465, -14.514, 216.491]

A:
[ 0.051  0.213  0.023  0.101  0.096 -0.009  0.145  0.207 -0.012  0.185]
****