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: [-79.133, -97.324, 28.129, 138.128, 213.878, -42.159, -44.342, 218.167, 206.665, 115.285]

A: [-0.12  -0.148  0.043  0.21   0.325 -0.064 -0.067  0.332  0.314  0.175]
****
Q: [238.724, 233.675, 143.563, -44.834, 195.138, 129.475, -64.207]

A: [ 0.287  0.281  0.173 -0.054  0.235  0.156 -0.077]
****
Q: [163.378, 74.568, 244.377, -21.399, -30.726, 186.836, 3.568, 166.126, -8.8, 7.145]

A:
[ 0.208  0.095  0.311 -0.027 -0.039  0.238  0.005  0.212 -0.011  0.009]
****