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: [158.151, 247.626, 8.044, 118.82, 96.148, -43.926, -70.331, 30.436, 105.946]

A: [ 0.243  0.38   0.012  0.183  0.148 -0.067 -0.108  0.047  0.163]
****
Q: [51.967, 80.616, 109.805, 30.339, 162.936, -59.313, -16.193, 61.555, 213.105]

A: [ 0.082  0.127  0.173  0.048  0.257 -0.093 -0.026  0.097  0.336]
****
Q: [232.553, 106.98, 148.951, 141.243, 104.296]

A:
[0.317 0.146 0.203 0.192 0.142]
****
