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: [-84.386, 163.217, 23.493, 1.719, 243.887, 172.585, 88.037, 151.948]

A: [-0.111  0.215  0.031  0.002  0.321  0.227  0.116  0.2  ]
****
Q: [120.942, 67.409, 213.717, -25.366]

A: [ 0.321  0.179  0.567 -0.067]
****
Q: [-20.973, 236.989, 164.174, 69.094, 201.908, 8.85, 28.361, -73.779]

A:
[-0.034  0.386  0.267  0.112  0.329  0.014  0.046 -0.12 ]
****