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: [112.058, 77.578, 242.343, -59.165, 15.974, 225.295]

A: [ 0.182  0.126  0.395 -0.096  0.026  0.367]
****
Q: [69.934, -1.771, 167.129, 42.12]

A: [ 0.252 -0.006  0.602  0.152]
****
Q: [179.669, 39.246, 112.122, -60.927, 103.845, 182.175, 201.538, 63.623]

A:
[ 0.219  0.048  0.137 -0.074  0.126  0.222  0.245  0.077]
****