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: [241.151, -67.168, 161.913, 68.409, -5.213, 66.258, 70.05, 38.39, 30.598]

A: [ 0.399 -0.111  0.268  0.113 -0.009  0.11   0.116  0.064  0.051]
****
Q: [19.761, -68.809, 38.9]

A: [-1.947  6.781 -3.833]
****
Q: [66.834, -79.731, 186.589, 244.536, 67.199, -23.636, 185.161, -36.427, -23.896]

A:
[ 0.114 -0.136  0.318  0.417  0.115 -0.04   0.316 -0.062 -0.041]
****
