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: [-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]
****
Q: [130.056, 45.14]

A: [0.742 0.258]
****
Q: [-74.492, -3.995, -45.15, -64.829, 145.589, -58.07, 54.662]

A:
[ 1.609  0.086  0.975  1.401 -3.145  1.255 -1.181]
****