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: [3.047, 155.678, 94.781, -73.491, -33.037, -39.522, 72.956]

A: [ 0.017  0.863  0.525 -0.407 -0.183 -0.219  0.404]
****
Q: [-79.133, -97.324, 28.129, 138.128, 213.878, -42.159, -44.342, 218.167, 206.665, 115.285]

A: [-0.12  -0.148  0.043  0.21   0.325 -0.064 -0.067  0.332  0.314  0.175]
****
Q: [95.219, 202.93, 9.252, 94.594, 198.918, 119.215, -85.165]

A:
[ 0.15   0.32   0.015  0.149  0.313  0.188 -0.134]
****