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: [91.241, -24.54, 108.741, -15.038, 79.356, 137.802, 209.109, -23.508, -95.352, 144.016]

A: [ 0.149 -0.04   0.178 -0.025  0.13   0.225  0.342 -0.038 -0.156  0.235]
****
Q: [116.837, -39.548, 33.391, 175.644, 113.699, 197.292, 61.823, 218.792]

A: [ 0.133 -0.045  0.038  0.2    0.13   0.225  0.07   0.249]
****
Q: [133.623, 181.027, -0.824, 184.242, 32.46, 193.637, 48.621, 48.12, -78.97, -67.245]

A:
[ 0.198  0.268 -0.001  0.273  0.048  0.287  0.072  0.071 -0.117 -0.1  ]
****