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: [204.719, -84.204, -1.215, 164.923, 43.828, 143.634, -47.883]

A: [ 0.483 -0.199 -0.003  0.389  0.103  0.339 -0.113]
****
Q: [127.391, 174.642, 4.351, -47.61]

A:
[ 0.492  0.675  0.017 -0.184]
****