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: [80.514, 158.578, 178.002, 67.127, 63.817, -7.061, 208.709, 111.012, 145.797, -21.547]

A: [ 0.082  0.161  0.181  0.068  0.065 -0.007  0.212  0.113  0.148 -0.022]
****
Q: [108.39, 95.014, 147.686, 236.38, 116.405, 97.176, 14.868, 159.594, 195.692]

A: [0.093 0.081 0.126 0.202 0.099 0.083 0.013 0.136 0.167]
****
Q: [115.15, 174.529, 11.963, 145.726]

A:
[0.257 0.39  0.027 0.326]
****