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: [-53.505, -40.083, -86.788, 79.571, 46.977, 102.323, 81.676, 147.811, 104.936, -3.011]

A: [-0.141 -0.106 -0.228  0.209  0.124  0.269  0.215  0.389  0.276 -0.008]
****
Q: [48.926, 114.037]

A: [0.3 0.7]
****
Q: [-53.072, 6.32, 41.731, 32.805, 224.369, 3.027, -14.148, -43.734, 184.346, 243.684]

A:
[-0.085  0.01   0.067  0.052  0.359  0.005 -0.023 -0.07   0.295  0.39 ]
****