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: [245.92, 106.086, -49.935, 132.239, -5.977, 156.59, -24.595]

A: [ 0.439  0.189 -0.089  0.236 -0.011  0.279 -0.044]
****
Q: [106.3, -50.849, 9.02, -35.539, -72.426]

A: [-2.444  1.169 -0.207  0.817  1.665]
****
Q: [-49.373, 33.587, 91.502, 72.939, -68.997, 116.391, 187.44, 181.167, 209.971]

A:
[-0.064  0.043  0.118  0.094 -0.089  0.15   0.242  0.234  0.271]
****
