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: [-76.62, 0.741, 30.593, -60.802, 208.129, 229.831, -24.156, 192.406, 44.528, 93.894]

A: [-0.12   0.001  0.048 -0.095  0.326  0.36  -0.038  0.301  0.07   0.147]
****
Q: [-15.658, 198.001, -1.095, 1.643, -13.539, 192.36, 98.402, -40.056]

A:
[-0.037  0.471 -0.003  0.004 -0.032  0.458  0.234 -0.095]
****