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: [56.012, -96.02, 100.719, 181.201, 82.523]

A: [ 0.173 -0.296  0.31   0.559  0.254]
****
Q: [166.025, 235.078, 2.082, -93.916, -96.865, 81.476, 212.551, 140.357]

A: [ 0.257  0.363  0.003 -0.145 -0.15   0.126  0.329  0.217]
****
Q: [66.717, 77.595, -6.419, -90.924, 34.087]

A:
[ 0.823  0.957 -0.079 -1.122  0.421]
****