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: [-19.827, 77.587, 234.377, 197.698, 9.593, -73.61, 243.676]

A: [-0.03   0.116  0.35   0.295  0.014 -0.11   0.364]
****
Q: [-19.577, 39.43, 228.771, 180.561, 139.963]

A: [-0.034  0.069  0.402  0.317  0.246]
****
Q: [-42.838, -87.526, 234.147, 46.377, 122.941, 178.345, 25.868, 194.568]

A:
[-0.064 -0.13   0.348  0.069  0.183  0.265  0.039  0.29 ]
****