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: [110.195, 52.195, 188.562, 5.889, 220.365, 147.995, 194.14, -89.542]

A: [ 0.133  0.063  0.227  0.007  0.266  0.178  0.234 -0.108]
****
Q: [-65.101, 50.909, 218.069]

A: [-0.319  0.25   1.07 ]
****
Q: [247.849, 20.995, 48.128, 228.848]

A:
[0.454 0.038 0.088 0.419]
****