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: [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: [-71.415, 179.486, 206.839, 104.11, 196.41, 30.853, 179.288, 91.723]

A: [-0.078  0.196  0.225  0.113  0.214  0.034  0.195  0.1  ]
****
Q: [17.327, 89.916, -16.017, 217.789]

A:
[ 0.056  0.291 -0.052  0.705]
****
