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: [-73.287, -90.252, -94.544, -0.289, 117.135, 184.928, 176.636, 25.06]

A: [-0.299 -0.368 -0.385 -0.001  0.477  0.754  0.72   0.102]
****
Q: [-83.508, -45.974, 241.098, 15.559, 178.455, 21.679, 107.872, 240.156, 244.933]

A: [-0.091 -0.05   0.262  0.017  0.194  0.024  0.117  0.261  0.266]
****
Q: [197.529, 231.433, -76.427, 131.877, 144.985, -86.421, -67.924]

A:
[ 0.416  0.487 -0.161  0.278  0.305 -0.182 -0.143]
****