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: [161.455, 23.187, 99.444, -13.526]

A: [ 0.597  0.086  0.368 -0.05 ]
****
Q: [135.094, 210.984, 105.017, 166.128, 58.716, 5.429, 136.874]

A: [0.165 0.258 0.128 0.203 0.072 0.007 0.167]
****
Q: [77.972, -74.08, 225.398, 134.18, 15.404, 140.725, 22.728, 155.476]

A:
[ 0.112 -0.106  0.323  0.192  0.022  0.202  0.033  0.223]
****