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: [122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]

A: [ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]
****
Q: [105.021, 198.628, 60.009, 230.057, 195.413, -98.091, 190.059, 188.651]

A: [ 0.098  0.186  0.056  0.215  0.183 -0.092  0.178  0.176]
****
Q: [90.247, -92.08]

A:
[-49.235  50.235]
****
