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: [20.099, 137.273, 239.87, 148.001, 151.274, 226.122, 100.529, 225.509, 122.443, 229.499]

A: [0.013 0.086 0.15  0.092 0.095 0.141 0.063 0.141 0.076 0.143]
****
Q: [142.936, 123.779, 60.865, 200.432, -26.579, 17.68, 110.174, 40.216, 67.654, 227.097]

A: [ 0.148  0.128  0.063  0.208 -0.028  0.018  0.114  0.042  0.07   0.236]
****
Q: [141.715, -25.385, 177.602, -58.436]

A:
[ 0.602 -0.108  0.754 -0.248]
****