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: [-82.152, 90.171, 81.645, 125.812, 58.913, 82.414, 164.646]

A: [-0.158  0.173  0.157  0.241  0.113  0.158  0.316]
****
Q: [249.541, 233.825, 9.968]

A: [0.506 0.474 0.02 ]
****
Q: [35.535, 131.4, 32.719, 198.861, 113.219, 72.839]

A:
[0.061 0.225 0.056 0.34  0.194 0.125]
****