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: [174.741, 13.293, 174.878, -36.814, 27.195, 182.668, 205.378, -93.512]

A: [ 0.27   0.021  0.27  -0.057  0.042  0.282  0.317 -0.144]
****
Q: [56.012, -96.02, 100.719, 181.201, 82.523]

A: [ 0.173 -0.296  0.31   0.559  0.254]
****
Q: [15.128, 178.585, 71.102, 155.858, 132.783, 155.499, -40.677]

A:
[ 0.023  0.267  0.106  0.233  0.199  0.233 -0.061]
****