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: [169.605, 162.483, 223.258, -46.101, 0.499, -49.31, 10.067, 195.258]

A: [ 0.255  0.244  0.335 -0.069  0.001 -0.074  0.015  0.293]
****
Q: [164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]

A: [ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]
****
Q: [-96.045, -26.964, 211.429]

A:
[-1.086 -0.305  2.391]
****