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: [101.04, 52.213, 186.403]

A: [0.297 0.154 0.549]
****
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: [167.809, 6.154, 245.259, 26.328, 17.944, -91.223, 164.995, 160.92, 209.534]

A:
[ 0.185  0.007  0.27   0.029  0.02  -0.1    0.182  0.177  0.231]
****