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: [7.815, -18.675, -80.473, 178.265, 227.153, -67.161]

A: [ 0.032 -0.076 -0.326  0.722  0.92  -0.272]
****
Q: [0.737, -13.324, 17.682, 37.746, 139.164]

A: [ 0.004 -0.073  0.097  0.207  0.765]
****
Q: [54.284, -59.979, 43.615, 12.907, -1.928, 67.395, 17.221]

A:
[ 0.407 -0.449  0.327  0.097 -0.014  0.505  0.129]
****