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: [-97.195, 72.11, 249.886, 154.489, -91.851, -38.023, 180.404]

A: [-0.226  0.168  0.581  0.359 -0.214 -0.088  0.42 ]
****
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: [-83.508, -45.974, 241.098, 15.559, 178.455, 21.679, 107.872, 240.156, 244.933]

A:
[-0.091 -0.05   0.262  0.017  0.194  0.024  0.117  0.261  0.266]
****