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: [108.257, 91.774, -97.879, 87.142, 84.885, 36.482, -60.727]

A: [ 0.433  0.367 -0.392  0.349  0.34   0.146 -0.243]
****
Q: [-25.876, 126.122, 102.141, 85.91, -27.267, 107.472, 146.719]

A: [-0.05   0.245  0.198  0.167 -0.053  0.209  0.285]
****
Q: [-74.98, 60.159, -26.387, 165.884]

A:
[-0.601  0.483 -0.212  1.331]
****