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: [161.082, 67.844, 17.769, 196.815, 228.033, 21.441]

A: [0.232 0.098 0.026 0.284 0.329 0.031]
****
Q: [70.93, 245.723, 180.253, 229.58, 125.031, 232.278]

A: [0.065 0.227 0.166 0.212 0.115 0.214]
****
Q: [-55.137, -11.019, 8.855, -92.629, -27.625, 108.025, 27.856, 128.858, 29.943]

A:
[-0.471 -0.094  0.076 -0.791 -0.236  0.922  0.238  1.1    0.256]
****