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: [239.945, 42.333]

A: [0.85 0.15]
****
Q: [89.622, 139.252, -1.52]

A: [ 0.394  0.612 -0.007]
****
Q: [49.275, 239.878, 181.168, 135.202, 177.927, 195.673, 213.147]

A:
[0.041 0.201 0.152 0.113 0.149 0.164 0.179]
****