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: [-89.49, 249.56, 48.075, 221.189, 0.896, 46.342]

A: [-0.188  0.524  0.101  0.464  0.002  0.097]
****
Q: [89.622, 139.252, -1.52]

A: [ 0.394  0.612 -0.007]
****
Q: [69.758, 137.523, 118.161, -77.894, -13.999, 185.905, -29.163, 14.312]

A:
[ 0.172  0.34   0.292 -0.193 -0.035  0.459 -0.072  0.035]
****